Impact
A stored SQL injection flaw exists in Koha Community versions up to 26.05.01, triggered by inserting an SQL payload into the agefield of an automatic item modification rule. The value is saved verbatim and later interpolated without parameterization into a query executed by a scheduled cron job. As a result, authenticated staff possessing the items_batchmod permission can execute arbitrary SELECT statements, including time‑based SLEEP payloads, to read the entire Koha database. The data exposed includes patron PII and staff bcrypt password hashes.
Affected Systems
The vulnerability affects the Koha Community software in the following releases: 24.11.17, 25.05.12, 25.11.06, and 26.05.01. Versions released after 26.05.01 incorporate the fix, but any installation still running these or older versions is vulnerable.
Risk and Exploitability
The CVSS score of 7.1 reflects a moderate to high severity. The EPSS score is not available, and the bug is not listed in the CISA KEV catalog. The attack requires authenticated staff with the items_batchmod permission, and the vector is internal via the scheduled cron trigger. An attacker can read all database contents, posing a severe confidentiality risk but no direct remote code execution or privilege escalation.
OpenCVE Enrichment