CVE-2026-70371
Koha: SQL Injection in reports/issues_avg_stats.pl
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.
| CWE | CWE-89 |
| Vendor | koha community |
| Product | koha |
| Published | Aug 4, 2026 |
Get instant alerts for koha community koha
Be the first to know when new unknown vulnerabilities affecting koha community koha are published โ delivered to Slack, Telegram or Discord.