CVE-2026-105107
published high CVSS 4.0 · 7.2Koha SQL injection in reports/cat_issues_top.pl via the Criteria, Filter and Limit request parameters
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Koha Community | — | Koha0 to < 24.11.00 · 24.11.00 to < 24.11.19 · 25.05.00 to < 25.05.14 · 25.11.00 to < 25.11.08 · 26.05.00 to < 26.05.03 · Other versions: unaffected | Affected | Not stated | TuranSec |
Description
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- TuranSec · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.6 | high | TuranSec · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Koha Community | Koha | 0 to < 24.11.00 (affected · custom)24.11.00 to < 24.11.19 (affected · custom)25.05.00 to < 25.05.14 (affected · custom)25.11.00 to < 25.11.08 (affected · custom)26.05.00 to < 26.05.03 (affected · custom)Default: unaffected | TuranSec · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
4Provider assertions
2TuranSec · cna
Koha SQL injection in reports/cat_issues_top.pl via the Criteria, Filter and Limit request parameters
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 38c089cf67efd6741f500c868cad141eab02f6e8cbb6eb364bcfcb858b750b38
- Ingested
- 14 Oct 2026, 20:28:04 UTC
- Source record
- Official CVE record