CVE-2026-72609 in Kohainfo

Summary

by MITRE • 08/11/2026

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.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 08/11/2026

This vulnerability exists within the Koha integrated library system where an authenticated staff member with specific acquisition permissions can exploit a poorly validated SQL injection flaw through the orderby parameter in the acqui/parcels.pl script. The vulnerability stems from inadequate input sanitization where the column name is properly allow-listed but the direction token is directly concatenated into the SQL ORDER BY clause without proper validation or escaping mechanisms. This represents a classic SQL injection weakness that aligns with CWE-89 and follows patterns identified in the OWASP Top Ten 2021 as injection vulnerabilities.

The technical implementation of this flaw allows an attacker to manipulate the database query structure by injecting malicious SQL commands through the orderby parameter, enabling blind time-based exploitation techniques that are commonly used when direct output reflection is not possible. The vulnerability specifically targets the C4::Acquisition::GetInvoices function which processes the request and fails to properly validate the direction component of the ORDER BY clause. This allows attackers to construct malicious SQL statements that can traverse database structures, particularly affecting systems where the acquisition module handles order processing and invoice management.

The operational impact of this vulnerability is severe as it provides authenticated attackers with the ability to extract sensitive information from the database including patron personally identifiable information such as names, addresses, phone numbers, and email addresses. Additionally, the vulnerability enables extraction of staff credentials in the form of bcrypt password hashes which can be subjected to offline dictionary attacks or rainbow table lookups, potentially compromising administrative accounts. The exposure of two-factor authentication secrets further amplifies the risk by allowing attackers to bypass multi-factor authentication mechanisms that should protect privileged access.

Attackers exploiting this vulnerability would typically leverage time-based blind SQL injection techniques to enumerate database contents gradually through repeated requests and timing analysis. This approach is particularly effective in production environments where direct error messages are suppressed for security reasons. The vulnerability affects multiple versions of Koha including 24.11.17, 25.05.12, 25.11.06, and 26.05.01, indicating a persistent flaw in the codebase that requires immediate patching across all affected releases. The exploitation path follows ATT&CK technique T1078 for valid accounts and T1213 for data access through database manipulation.

Recommended mitigations include implementing proper input validation and parameterization of SQL queries, specifically ensuring that all user-supplied ORDER BY direction parameters are strictly validated against a predefined set of allowed values. The code should be updated to use prepared statements or parameterized queries for all database operations involving user input, particularly in the acquisition module's GetInvoices function. Organizations should also implement network segmentation and access controls to limit the scope of potential exploitation, while ensuring that staff accounts with acquisition permissions are properly monitored. Regular security assessments and code reviews should be conducted to identify similar injection vulnerabilities in other components of the system, with particular attention to database interaction patterns. Additionally, implementing proper logging and alerting mechanisms around database queries can help detect anomalous access patterns that may indicate exploitation attempts.

Responsible

TuranSec

Reservation

08/10/2026

Disclosure

08/11/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!