CVE-2026-105107Koha SQL injection in reports/cat_issues_top.pl via the Criteria, Filter and Limit…
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).
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by TuranSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Koha Community Koha: affected: before 24.11.00, 24.11.00 to before 24.11.19, 25.05.00 to before 25.05.14, 25.11.00 to before 25.11.08, 26.05.00 to before 26.05.03; fixed in
24.11.00,24.11.19,25.05.14,25.11.08,26.05.03
Vendor advisories:
- https://download.koha-community.org/ (release-notes)
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42736
- https://download.koha-community.org/
- https://www.cve.org/CVERecord?id=CVE-2026-70372
- https://www.cve.org/CVERecord?id=CVE-2026-6428
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.