{"id":"CVE-2026-70371","published":"2026-08-04T13:18:57.930","lastModified":"2026-08-10T12:17:22.610","description":"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.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-89"],"vendors":[],"products":[],"references":[{"url":"https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368","tags":[]},{"url":"https://download.koha-community.org/koha-25.05.12.tar.gz","tags":[]},{"url":"https://koha-community.org/koha-25-05-12-released/","tags":[]}],"exploitRefs":[],"hasPoc":false,"ai":{"summary":"The flaw allows an attacker to inject SQL code by manipulating user-controlled parameters, leading to potential data compromise, integrity issues, and availability problems.","exploitability":"Exploitation is relatively straightforward given the lack of validation on user inputs, making it a high-risk vulnerability.","blast_radius":"If exploited, the vulnerability could lead to unauthorized data access, data corruption, or service disruption affecting the entire system.","remediation":"Upgrade to the latest version of Koha that addresses this vulnerability, specifically version 4.20.2 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","sql-injection","web","database"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-30T09:23:52.089Z"}}