CVE-2026-105107
Published:October 14, 2026
Updated:October 20, 2026
Koha is vulnerable to SQL injection in the Most-circulated items report. The reports/cat_issues_top.pl script (sub calculate) concatenates the user-controlled Criteria, Filter, and Limit request parameters directly into dynamic SQL. Criteria is only prefix-normalized and never validated against an allow-list, so it is inserted verbatim into identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY, and the main calculation query). Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments. Limit is appended raw to a LIMIT clause. An authenticated staff user with the reports module permission (not requiring superlibrarian) can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (userid and bcrypt password hashes, two-factor secrets, personal data), api_keys, and sessions. The issue is fixed in Koha 24.11.19, 25.05.14, 25.11.08, and 26.05.03, and in the 26.11 development branch. This is the unpatched twin of reports/bor_issues_top.pl (CVE-2026-70372).
Affected Packages
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v24.11.01-1 <v24.11.19-1Fix Suggestion:
Update to version v24.11.19-1https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.05.00-1 <v25.05.14-1Fix Suggestion:
Update to version v25.05.14-1https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v26.05.01-1 <v26.05.03-1Fix Suggestion:
Update to version v26.05.03-1https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.11.00-2 <v25.11.08-1Fix Suggestion:
Update to version v25.11.08-1Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
EPSS
Base Score:
0.28