SQL Injection in Koha Community
CVE-2026-70371
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.
Vulnerability class: SQL Injection
EPSS: 0.003 (23.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Koha Community — versions 0, 25.05.00, 25.11.00
Weakness classification (CWE)
References
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (third-party-advisory)
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (third-party-advisory)
- 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c (third-party-advisory)
Frequently asked questions
- What is CVE-2026-70371?
- CVE-2026-70371 is a high-severity vulnerability in Koha Community, classified under SQL Injection. CVSS score: 8.8/10. Published 2026-08-04.
- How severe is CVE-2026-70371?
- High severity. CVSS v3 base score is 8.8 out of 10.