Koha Community Koha - Stored SQL Injection via agefield in Automatic Item Modifications by Age
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Koha Community | Koha | before 24.11.18; 25.05.0 to before 25.05.13; 25.11.0 to before 25.11.07; 26.05.0 to before 26.05.02 | 24.11.18, 25.05.13, 25.11.07, 26.05.02 | Patch available | CNA |
- Koha VendorKoha Community Affected before 24.11.18; 25.05.0 to before 25.05.13; 25.11.0 to before 25.11.07; 26.05.0 to before 26.05.02 Fixed in 24.11.18, 25.05.13, 25.11.07, 26.05.02 Patch available CNA
Remediation
- Fix · CNA Koha (Koha Community) Fixed in 24.11.18, 25.05.13, 25.11.07, 26.05.02
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Koha 24.11.18, 25.05.13 and 2 more versions
4 records Highest priority Priority LOW 4 LOW
Other records, highest priority first
- TI-2026-50866 Koha Community Koha - SQL Injection via ORDER BY Direction in acqui/parcels.plPriority LOW 31
- TI-2026-50865 Koha Community Koha - Stored SQL Injection via Patron Card Layout image_namePriority LOW 29
- TI-2026-50867 Koha Community Koha - Stored SQL Injection via Patron lang Field in Issue Slip GenerationPriority LOW 20
Timeline
- 2026-10-02 Threatist record created from CVE-2026-72607
- 2026-10-03 Alias added: GHSA-wghp-4m28-j8pj
References
Other 2
More Koha Community vulnerabilities
- TI-2026-73826 OS command injection in Koha Task Scheduler deletion via jobid CVSS 3.1HIGH 8.8
- TI-2026-24397 Authenticated SQL Injection in Koha displayby parameter of suggestion.pl CVSS 4.0HIGH 8.7
- TI-2023-24038 SQL Injection vulnerability in Koha Library Software 23.0.5.04 and before allows a remote… CVSS 3.1HIGH 7.5
- TI-2023-24039 File Upload vulnerability in Koha Library Software 23.05.04 and before allows a remote… CVSS 3.1MEDIUM 5.3
- TI-2026-05641 Koha SQL Injection in reports/catalogue_out.pl via Filter URL Parameter CVSS 4.0MEDIUM 5.6
- TI-2026-49955 Koha SQL Injection via order_by and {order}_ovalue Parameters in guided_reports.pl CVSS 3.1HIGH 8.8
Sources
- CVE-2026-72607 · CVE Program
- CVE-2026-72607 · NVD
- FIRST EPSS
- GHSA-wghp-4m28-j8pj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences