Vulnerability Description
Koha's reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Line and Column parameters are not validated against any whitelist and land verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY), and each Filter slot is concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments with no bound parameters. 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368
- https://download.koha-community.org/koha-25.05.12.tar.gz
- https://koha-community.org/koha-25-05-12-released/
FAQ
What is CVE-2026-70371?
CVE-2026-70371 is a vulnerability with a CVSS score of 8.8 (HIGH). Koha's reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Line and Column parameters are no...
How severe is CVE-2026-70371?
CVE-2026-70371 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-70371?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.