CVE-2026-70371: Koha: SQL Injection in reports/issues_avg_stats.pl

Published Aug 4, 2026
·
Updated

Koha's reports/issuesavgstats.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), apikeys, and sessions.

Affected Software

1 affected component
Koha issues_avg_stats.pl

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-70371?

The severity of CVE-2026-70371 is rated at 58, indicating a moderate risk level.

2

What is the nature of CVE-2026-70371?

CVE-2026-70371 is an SQL Injection vulnerability found in Koha's reports/issues_avg_stats.pl.

3

How do I fix CVE-2026-70371?

To address CVE-2026-70371, sanitize and validate user inputs before using them in dynamic SQL queries.

4

Which software is affected by CVE-2026-70371?

CVE-2026-70371 affects Koha's issues_avg_stats.pl script.

5

When was CVE-2026-70371 published?

CVE-2026-70371 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