Description
An SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the acquisition => order_receive permission to read arbitrary database contents via the orderby request parameter in acqui/parcels.pl. The parameter is passed to C4::Acquisition::GetInvoices, which allow-lists the column name but concatenates the direction token raw into the SQL ORDER BY clause without validation. Exploitation is blind (time-based) in production and allows extraction of patron PII, staff bcrypt password hashes, and two-factor secrets.
Published: 2026-08-11
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Koha Community’s acquisition module contains an SQL injection flaw that permits authenticated staff with the acquisition => order_receive permission to supply an unvalidated ORDER BY direction token via the orderby request parameter. The backend function concatenates the supplied direction directly into the SQL query, enabling an attacker to embed time‑based payloads that reveal arbitrary database content. An attacker can therefore retrieve sensitive patron personally identifiable information, staff bcrypt password hashes, and two‑factor authentication secrets.

Affected Systems

Koha Community releases up through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 are affected. The vulnerability resides in the acqui/parcels.pl script of the Koha acquisition application.

Risk and Exploitability

The CVSS score of 7.1 denotes a high severity vulnerability. While the EPSS score is not available, the flaw requires no special software privileges beyond standard staff authentication, which is often granted in library environments, making exploitation relatively straightforward. The attack vector is web‑based and possible to carry out from any network location that can reach the Koha instance, although the attacker must first obtain valid staff credentials. The vulnerability is not listed in the CISA KEV catalog, but the potential for credential theft and exposure of sensitive data warrants prompt attention.

Generated by OpenCVE AI on August 11, 2026 at 16:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Koha to a release that includes the fix for versions 24.11.17, 25.05.12, 25.11.06, and 26.05.01 or later.
  • Restrict the acquisition => order_receive permission to the minimal set of trusted staff or disable that permission entirely if the feature is unnecessary.
  • Configure the web application or database layer to enforce strict validation of the ORDER BY direction parameter, or disable the parameter in the acquisition module if possible.

Generated by OpenCVE AI on August 11, 2026 at 16:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 11 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Koha-community
Koha-community koha
Vendors & Products Koha-community
Koha-community koha

Tue, 11 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description An SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the acquisition => order_receive permission to read arbitrary database contents via the orderby request parameter in acqui/parcels.pl. The parameter is passed to C4::Acquisition::GetInvoices, which allow-lists the column name but concatenates the direction token raw into the SQL ORDER BY clause without validation. Exploitation is blind (time-based) in production and allows extraction of patron PII, staff bcrypt password hashes, and two-factor secrets.
Title Koha Community Koha - SQL Injection via ORDER BY Direction in acqui/parcels.pl
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L'}


Subscriptions

Koha-community Koha
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-11T12:06:02.672Z

Reserved: 2026-08-10T10:33:03.258Z

Link: CVE-2026-72609

cve-icon Vulnrichment

Updated: 2026-08-11T12:05:59.078Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-11T12:17:44.120

Modified: 2026-08-28T18:51:07.660

Link: CVE-2026-72609

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-11T17:30:15Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')