Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-70371
Published:August 04, 2026
Updated:August 05, 2026
Koha's reports/issues_avg_stats.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), api_keys, and sessions.
Affected Packages
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) =v26.05.00 <v26.05.01-1
Fix Suggestion:
Update to version v26.05.01-1
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.11.00 <v25.11.06-1
Fix Suggestion:
Update to version v25.11.06-1
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=v25.05.00-1 <v25.05.12-2
Fix Suggestion:
Update to version v25.05.12-2
https://github.com/Koha-Community/Koha.git (GITHUB):
Affected version(s) >=dev_week <v24.11.17-1
Fix Suggestion:
Update to version v24.11.17-1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')