# CVE-2026-70370: Koha - SQL Injection in reports/catalogue_stats.pl

- Severity: High 8.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2026-08-04T13:00:07.967Z
- Modified: 2026-10-23T23:10:00.157Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: TuranSec

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

(As written by CVE List.)

## Affected

- Koha Community Koha: up to 24.11.17; from 25.05.00 up to 25.05.12; from 25.11.00 up to 25.11.06; from 26.05.00 up to 26.05.01

## Every score

- TuranSec: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42363> (third-party-advisory)
- <https://koha-community.org/koha-25-05-12-released/> (third-party-advisory)
- <https://download.koha-community.org/koha-25.05.12.tar.gz> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-70370](https://www.cve.org/CVERecord?id=CVE-2026-70370), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-70370](https://nvd.nist.gov/vuln/detail/CVE-2026-70370), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-70370 · Whole record: https://cve.day/CVE-2026-70370.json · Rebuilt by cve.day 2026-11-25T22:59:30.949Z
