{"id":"CVE-2026-72607","state":"PUBLISHED","title":"Koha Community Koha - Stored SQL Injection via agefield in Automatic Item Modifications by Age","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.","publishedAt":"2026-08-11T11:22:12.949Z","updatedAt":"2026-08-11T12:10:18.466Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","source":"TuranSec"},"assigner":"TuranSec","products":["Koha Community Koha"],"affected":[{"vendor":"Koha Community","product":"Koha","versions":[{"version":"0","status":"affected","lessThan":"24.11.18","versionType":"custom"},{"version":"25.05.0","status":"affected","lessThan":"25.05.13","versionType":"custom"},{"version":"25.11.0","status":"affected","lessThan":"25.11.07","versionType":"custom"},{"version":"26.05.0","status":"affected","lessThan":"26.05.02","versionType":"custom"}]}],"references":["https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42746","https://koha-community.org/"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72607.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72607","state":"PUBLISHED","datePublished":"2026-08-11T11:22:12.949Z","dateUpdated":"2026-08-11T12:10:18.466Z","assignerShortName":"TuranSec","assignerOrgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateReserved":"2026-08-10T10:33:03.258Z"},"containers":{"cna":{"title":"Koha Community Koha - Stored SQL Injection via agefield in Automatic Item Modifications by Age","descriptions":[{"lang":"en","value":"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":[{"vendor":"Koha Community","product":"Koha","versions":[{"version":"0","status":"affected","lessThan":"24.11.18","versionType":"custom"},{"version":"25.05.0","status":"affected","lessThan":"25.05.13","versionType":"custom"},{"version":"25.11.0","status":"affected","lessThan":"25.11.07","versionType":"custom"},{"version":"26.05.0","status":"affected","lessThan":"26.05.02","versionType":"custom"}]}],"references":[{"url":"https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42746","name":"Koha Bug 42746"},{"url":"https://koha-community.org/","name":"Koha Community"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L","baseScore":7.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","type":"CWE","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)"}]}],"providerMetadata":{"shortName":"TuranSec","orgId":"309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c","dateUpdated":"2026-08-11T11:40:06.669Z"},"credits":[{"lang":"en","value":"Sanjar Tulkinov Anvar ogʻli (sanjarbiy11@gmail.com)","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-11T12:08:50.387022Z","id":"CVE-2026-72607","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-11T12:10:18.466Z"}}]}}}