CVE-2026-70370
Published:August 04, 2026
Updated:August 05, 2026
Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation. When Line contains itemcallnumber and the cotedigits parameter is truthy, cotedigits is additionally concatenated raw as the numeric argument of a LEFT() call. An authenticated staff user holding the reports module permission can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (password hashes, two-factor secrets, personal data), api_keys, and sessions.
Affected Packages
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.05.00-1 <v25.05.12-2Fix Suggestion:
Update to version v25.05.12-2https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v24.11.00 <v24.11.17-1Fix Suggestion:
Update to version v24.11.17-1https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.11.00 <v25.11.06-1Fix Suggestion:
Update to version v25.11.06-1Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')