CVE-2026-70372: Koha: SQL Injection in reports/bor_issues_top.pl
Koha's reports/borissuestop.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Criteria parameter is only normalized by a table-name prefix and is never whitelisted, landing verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY); Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments, and the Limit parameter is appended raw to a LIMIT clause. 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), apikeys, and sessions.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-70372?
CVE-2026-70372 has a risk score of 58.
What type of vulnerability is CVE-2026-70372?
CVE-2026-70372 is classified as an SQL Injection vulnerability.
How do I fix CVE-2026-70372?
To fix CVE-2026-70372, ensure that all user-controlled parameters are properly sanitized and parameterized in SQL queries.
Which software is affected by CVE-2026-70372?
CVE-2026-70372 affects Koha software.
What component is vulnerable in CVE-2026-70372?
CVE-2026-70372 affects the reports/bor_issues_top.pl component of Koha.