Vulnerability · Published Aug 4, 2026 · Assigned by TuranSec
CVE-2026-70371Koha - SQL Injection in reports/issues_avg_stats.pl
High 8.8
In plain English
A high-severity SQL injection in Koha from Koha Community. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Koha Community | Koha | 0 – through 24.11.1725.05.00 – through 25.05.1225.11.00 – through 25.11.0626.05.00 – through 26.05.01 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368 third-party-advisory
- https://koha-community.org/koha-25-05-12-released/ third-party-advisory
- https://download.koha-community.org/koha-25.05.12.tar.gz third-party-advisory