{"id":"CVE-2026-72608","state":"PUBLISHED","title":"Koha Community Koha - Stored SQL Injection via Patron Card Layout image_name","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 => label_creator permission to execute arbitrary SQL via the image_name field of a patron card layout. The image_name value is stored verbatim in the layout XML and later concatenated raw into a SQL query in patroncards/create-pdf.pl when a patron card batch is printed. An attacker can read the entire Koha database including patron PII and staff bcrypt password hashes via error-based or time-based blind injection.","publishedAt":"2026-08-11T11:22:14.074Z","updatedAt":"2026-08-11T12:07:56.368Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","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=42747","https://koha-community.org/"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/72xxx/CVE-2026-72608.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72608","state":"PUBLISHED","datePublished":"2026-08-11T11:22:14.074Z","dateUpdated":"2026-08-11T12:07:56.368Z","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 Patron Card Layout image_name","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 => label_creator permission to execute arbitrary SQL via the image_name field of a patron card layout. The image_name value is stored verbatim in the layout XML and later concatenated raw into a SQL query in patroncards/create-pdf.pl when a patron card batch is printed. An attacker can read the entire Koha database including patron PII and staff bcrypt password hashes via error-based or time-based blind injection."}],"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=42747","name":"Koha Bug 42747"},{"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:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"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:22:14.074Z"},"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:07:20.469478Z","id":"CVE-2026-72608","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:07:56.368Z"}}]}}}