CVE-2026-72608
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.
INFO
Published Date :
Aug. 11, 2026, 12:17 p.m.
Last Modified :
Aug. 11, 2026, 12:17 p.m.
Remotely Exploit :
No
Source :
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Affected Products
The following products are affected by CVE-2026-72608
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c |
Solution
- Sanitize image_name input before SQL query.
- Update Koha to a patched version.
- Restrict tools => label_creator permission.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-72608.
| URL | Resource |
|---|---|
| https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42747 | |
| https://koha-community.org/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-72608 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-72608
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-72608 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-72608 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Aug. 11, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Koha Community', 'product': 'Koha', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '24.11.18', 'versionType': 'custom'}, {'status': 'affected', 'version': '25.05.0', 'lessThan': '25.05.13', 'versionType': 'custom'}, {'status': 'affected', 'version': '25.11.0', 'lessThan': '25.11.07', 'versionType': 'custom'}, {'status': 'affected', 'version': '26.05.0', 'lessThan': '26.05.02', 'versionType': 'custom'}]}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Added CWE CWE-89 Added Reference https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42747 Added Reference https://koha-community.org/