Koha Community Koha - Stored SQL Injection via Patron Card Layout image_name
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · None · None
- 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 => 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.
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-50864 Koha Community Koha - Stored SQL Injection via agefield in Automatic Item Modifications by AgePriority LOW 32
- TI-2026-50866 Koha Community Koha - SQL Injection via ORDER BY Direction in acqui/parcels.plPriority LOW 31
- 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-72608
- 2026-10-03 Alias added: GHSA-xg24-96fx-vx3g
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-72608 · CVE Program
- CVE-2026-72608 · NVD
- FIRST EPSS
- GHSA-xg24-96fx-vx3g · 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