CVE-2026-105107: high-severity vulnerability in Koha
Koha SQL injection in reports/cat_issues_top.pl via the Criteria, Filter and Limit request parameters
Published
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.2epss 0.3%
exploitation probability
0.3%top 81% of all CVEs
observed exploitation
nono source reports it
Koha is vulnerable to SQL injection in the Most-circulated items report. The reports/cat_issues_top.pl script (sub calculate) concatenates the user-controlled Criteria, Filter, and Limit request parameters directly into dynamic SQL. Criteria is only prefix-normalized and never validated against an allow-list, so it is inserted verbatim into identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY, and the main calculation query). Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments. Limit is appended raw to a LIMIT clause. An authenticated staff user with the reports module permission (not requiring superlibrarian) can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (userid and bcrypt password hashes, two-factor secrets, personal data), api_keys, and sessions. The issue is fixed in Koha 24.11.19, 25.05.14, 25.11.08, and 26.05.03, and in the 26.11 development branch. This is the unpatched twin of reports/bor_issues_top.pl (CVE-2026-70372).
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N
Affected products
Koha Community · KohaRelated CVEs — Koha
In the same product, most dangerous first.
CVE-2026-105106HIGHKoha authenticated OS command injection in tools/scheduler.pl via the jobid parameter when deleting a scheduled taskEPSS 1.6%CVE-2026-31844HIGHAuthenticated SQL Injection in Koha displayby parameter of suggestion.plEPSS 0.6%CVE-2026-70373HIGHKoha - SQL Injection in reports/issues_stats.plEPSS 0.6%CVE-2026-70372HIGHKoha - SQL Injection in reports/bor_issues_top.plEPSS 0.6%CVE-2026-70371HIGHKoha - SQL Injection in reports/issues_avg_stats.plEPSS 0.6%CVE-2026-70370HIGHKoha - SQL Injection in reports/catalogue_stats.plEPSS 0.6%