CVE-2026-70370: Koha: SQL Injection in reports/catalogue_stats.pl

Published Aug 4, 2026
·
Updated

Koha's reports/cataloguestats.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. When Line contains itemcallnumber and the cotedigits parameter is truthy, cotedigits is additionally concatenated raw as the numeric argument of a LEFT() call. 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), apikeys, and sessions.

Affected Software

1 affected component
Koha

Event History

Aug 4, 2026
CVE Published
via MITRE·01:00 PM
Data Sourced
via MITRE·01:00 PM
DescriptionWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-70370?

The severity of CVE-2026-70370 is rated at 72, indicating a significant risk.

2

How do I fix CVE-2026-70370?

To fix CVE-2026-70370, ensure that user inputs for the Line and Column parameters are properly validated and sanitized to prevent SQL injection.

3

What does CVE-2026-70370 affect?

CVE-2026-70370 affects Koha's reports/catalogue_stats.pl, which is vulnerable to SQL injection.

4

What is the nature of the vulnerability in CVE-2026-70370?

CVE-2026-70370 is an SQL Injection vulnerability caused by the lack of whitelist validation when interpolating user-controlled parameters.

5

When was CVE-2026-70370 published?

CVE-2026-70370 was published on August 4, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203