CVE-2026-70370 Koha - SQL Injection in reports/catalogue_stats.pl
Attackers can execute arbitrary SQL commands via the Line and Column parameters in catalogue_stats.pl, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-70370?
CVE-2026-70370 is a high-severity SQL injection vulnerability in Koha, published on 4 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.
Weakness: CWE-89
Which versions are affected by CVE-2026-70370?
How do I fix CVE-2026-70370?
No fix has been published for CVE-2026-70370 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-70370 being exploited?
There is no known exploitation of CVE-2026-70370 in the wild and no public exploit code.
Sources
Also known as GHSA-8rx2-c3qm-2mc4.