CVE-2026-70370 Details
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.
A SQL injection vulnerability has been identified in Koha's reports/catalogue_stats.pl script. The issue arises because the script dynamically builds SQL queries by directly inserting user-controlled Line and Column parameters into key query positions (SELECT, GROUP BY, ORDER BY) without proper validation. When the Line parameter includes 'itemcallnumber' and the cotedigits parameter is truthy, cotedigits is also concatenated into the query as a raw numeric argument for a LEFT() function call. This vulnerability allows an authenticated staff user with reports module permission to inject arbitrary SQL, potentially leading to unauthorized data access, including sensitive information from borrowers' records, such as password hashes and personal data.
Users can upgrade to Koha versions 26.11.00, 26.05.01, 25.11.06, 25.05.12, or 24.11.17 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 4, 2026CISA-ADP
Assessed Aug 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363 | TuranSec | ExploitIssue TrackingTechnical DescriptionVendor |
| https://download.koha-community.org/koha-25.05.12.tar.gz | TuranSec | Broken LinkVendor |
| https://koha-community.org/koha-25-05-12-released/ | TuranSec | AdvisoryBundleRelease NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| Koha | >= 25.12.00.042, < 25.12.00.043 >= 25.11.03.001, < 25.11.03.002 >= 25.05.08.000, < 25.05.08.001 >= 24.11.14.000, < 24.11.14.001 >= 23.11.15.000, < 23.11.15.001 >= 22.11.35.000, < 22.11.35.001 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | CVE Modified | TuranSec |
| Aug 5, 2026 | CVE Modified | TuranSec |
| Aug 4, 2026 | CVE Modified | CISA-ADP |
| Aug 4, 2026 | New CVE Received | TuranSec |
Volerion