Vulnerability · Published Aug 4, 2026 · Assigned by TuranSec

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

High 8.8

In plain English

A high-severity SQL injection in Koha from Koha Community. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 52.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected products (as reported)

VendorProductVersions
Koha Community Koha 0 – through 24.11.1725.05.00 – through 25.05.1225.11.00 – through 25.11.0626.05.00 – through 26.05.01

Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References