CVE-2026-70373: Koha: SQL Injection in reports/issues_stats.pl
Koha's reports/issuesstats.pl (the circulation statistics report) builds its calculation query in sub calculate by concatenating several user-controlled request parameters directly into the SQL string. The PeriodTypeSel, PeriodDaySel, and PeriodMonthSel parameters are interpolated raw into single-quoted equality and function-comparison fragments, and the Filter slots plus the Line and Column identifiers are likewise interpolated with no whitelist and no placeholder binding. 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-70373?
CVE-2026-70373 has a risk score of 73, indicating a high severity SQL injection vulnerability.
What type of vulnerability is CVE-2026-70373?
CVE-2026-70373 is an SQL injection vulnerability affecting Koha's reports/issues_stats.pl.
How do I fix CVE-2026-70373?
To fix CVE-2026-70373, ensure that user-controlled parameters are properly sanitized and parameterized SQL queries are used instead.
Which parameters are affected by CVE-2026-70373?
The parameters affected by CVE-2026-70373 include PeriodTypeSel, PeriodDaySel, and PeriodMonthSel.
Which software is vulnerable to CVE-2026-70373?
CVE-2026-70373 affects Koha software, specifically in the circulation statistics report functionality.