# CVE-2026-72607: Koha Community Koha - Stored SQL Injection via agefield in Automatic Item Modifications by Age

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.45% (percentile 31, 2026-11-26)
- **CWE:** CWE-89
- **Published:** 2026-08-11T11:22:12.949Z
- **Modified:** 2026-10-24T15:10:00.190Z

## Who should check

- Anyone running Koha Community Koha \< 24.11.18; \>= 25.05.0, \< 25.05.13; \>= 25.11.0, \< 25.11.07; \>= 26.05.0, \< 26.05.02

## Description

A stored SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the tools =\> items\_batchmod permission to read arbitrary database contents by storing a SQL payload in the agefield value of an automatic item modification rule. The agefield value is stored verbatim to the system preference and later interpolated without parameterization into a SQL query in C4::Items::ToggleNewStatus (line 1228) when the scheduled cron job executes. The injection is SELECT-only under standard MariaDB/MySQL DBI single-statement execution; a time-based SLEEP payload is also achievable via the cron trigger. An attacker can read the entire Koha database including patron PII and staff bcrypt password hashes.

## Affected and fixed versions

- Koha Community Koha: \< 24.11.18; \>= 25.05.0, \< 25.05.13; \>= 25.11.0, \< 25.11.07; \>= 26.05.0, \< 26.05.02 (cvelist)

## Mitigation

- Upgrade Koha to 26.05.02 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72607. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72607.md
Affected: Koha Community Koha < 24.11.18; >= 25.05.0, < 25.05.13; >= 25.11.0, < 25.11.07; >= 26.05.0, < 26.05.02
Fixed in: Koha Community Koha 24.11.18, Koha Community Koha 25.05.13, Koha Community Koha 25.11.07, Koha Community Koha 26.05.02

Steps:
1. Search this machine and project for Koha Community Koha: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72607 being exploited?

There is no confirmed exploitation: CVE-2026-72607 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72607?

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-72607?

Koha Community Koha \< 24.11.18; \>= 25.05.0, \< 25.05.13; \>= 25.11.0, \< 25.11.07; \>= 26.05.0, \< 26.05.02.

### Is there a fix for CVE-2026-72607?

Yes. Fixed in Koha Community Koha 24.11.18, Koha Community Koha 25.05.13, Koha Community Koha 25.11.07, Koha Community Koha 26.05.02. Upgrade Koha to 26.05.02 or later.

### How do I check if I'm affected by CVE-2026-72607?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42746>
- other: <https://koha-community.org/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72607>

HTML: <https://flawdb.com/CVE-2026-72607> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72607>
