CVE-2026-72608: CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) in Koha Community Koha
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.
AI Analysis
Technical Summary
This vulnerability arises from improper neutralization of special elements in SQL commands (CWE-89) within Koha Community software. Specifically, the image_name field of a patron card layout is stored verbatim in XML and later concatenated directly into a SQL query in patroncards/create-pdf.pl when printing patron card batches. Authenticated staff users with label_creator permission can exploit this to perform stored SQL injection attacks. The impact includes unauthorized reading of the entire Koha database, exposing patron PII and staff password hashes. The affected versions explicitly include 25.05.0, 25.11.0, and 26.05.0. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an authenticated staff user with specific permissions to execute arbitrary SQL commands, leading to disclosure of sensitive data such as patron personally identifiable information and staff bcrypt password hashes. This compromises confidentiality but does not affect integrity or availability according to the CVSS vector. The vulnerability poses a medium severity risk due to the required privileges and the nature of the impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the tools => label_creator permission to trusted staff only and monitor for suspicious activity related to patron card layout modifications. Avoid using untrusted input in the image_name field. Follow vendor updates closely for official patches or mitigations.
CVE-2026-72608: CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) in Koha Community Koha
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.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/koha-community/KohaRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from improper neutralization of special elements in SQL commands (CWE-89) within Koha Community software. Specifically, the image_name field of a patron card layout is stored verbatim in XML and later concatenated directly into a SQL query in patroncards/create-pdf.pl when printing patron card batches. Authenticated staff users with label_creator permission can exploit this to perform stored SQL injection attacks. The impact includes unauthorized reading of the entire Koha database, exposing patron PII and staff password hashes. The affected versions explicitly include 25.05.0, 25.11.0, and 26.05.0. There is no vendor advisory or patch information provided, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an authenticated staff user with specific permissions to execute arbitrary SQL commands, leading to disclosure of sensitive data such as patron personally identifiable information and staff bcrypt password hashes. This compromises confidentiality but does not affect integrity or availability according to the CVSS vector. The vulnerability poses a medium severity risk due to the required privileges and the nature of the impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict the tools => label_creator permission to trusted staff only and monitor for suspicious activity related to patron card layout modifications. Avoid using untrusted input in the image_name field. Follow vendor updates closely for official patches or mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-10T10:33:03.258Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7b0a86bf8831d539a55f2c
Added to database: 08/11/2026, 11:41:58 UTC
Last enriched: 08/11/2026, 11:57:37 UTC
Last updated: 08/11/2026, 12:27:05 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.