Database disclosure via unvalidated report dimensions
Published Aug 4, 2026 · Updated Aug 4, 2026
SQL injection in affected Koha versions allows remote authenticated users with reports permission to read database data. The calculate subroutine in reports/catalogue_stats.pl inserts the Line and Column parameters into SELECT, GROUP BY, and ORDER BY identifier positions without allowlist validation; a truthy cotedigits value is also concatenated into LEFT(). A staff account with the reports module permission is required, and injected SQL can expose any table readable by Koha's database account, including patron records, API keys, and sessions.
Summary
What happened
SQL injection in affected Koha versions allows remote authenticated users with reports permission to read database data. The calculate subroutine in reports/catalogue_stats.pl inserts the Line and Column parameters into SELECT, GROUP BY, and ORDER BY identifier positions without allowlist validation; a truthy cotedigits value is also concatenated into LEFT(). A staff account with the reports module permission is required, and injected SQL can expose any table readable by Koha's database account, including patron records, API keys, and sessions.
The record
- CVE
- CVE-2026-70370
- Published
- Aug 4, 2026
- Updated
- Aug 4, 2026
- Vendor
- Koha Community
- Product
- Koha
- Classifications
- CWE-89
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 4, 2026CVE publishedPublication date reported by the CVE source.
- Aug 4, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <24.11.17
- Affected versionversion=25.05.00 <25.05.12
- Affected versionversion=25.11.00 <25.11.06
- Affected versionversion=26.05.00 <26.05.01
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo