# CVE-2026-6428: Koha Community Koha SQL injection in reports/catalogue_out.pl

Source: https://junglewise.ai/threats/cve-2026-6428-koha-community-koha-sql-injection-in-reports-catalogue-out-pl  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-13. Updated: 2026-06-13  
License: CC BY 4.0 with a link back

CVE-2026-6428 · Severity: high · CVSS 7.6 · Published 2026-06-13

Koha, a widely used open-source library management system, contains a security vulnerability in its reporting module. An authorized staff member can exploit this flaw to bypass security controls and access sensitive information stored in the library's database. This includes personal data of library patrons, staff password hashes, and administrative API keys, potentially leading to full account takeovers or data breaches.

Technologies: [Koha Community Koha](https://junglewise.ai/threats/technologies/koha). Vendors: [Koha Community](https://junglewise.ai/threats/vendors/koha-community).

## Quick answers

**Is CVE-2026-6428 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-6428 being exploited in the wild.

**How severe is CVE-2026-6428?** High severity, with a CVSS score of 7.6, published 13 June 2026.

**Which products and versions are affected?** Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.11.x before 25.11.05, 26.05.x before 26.05.01, 26.11.x before 26.11.00.

**Is there a fix for CVE-2026-6428?** A patch was published on 2026-06-09: Security releases 22.11.38, 24.11.16, 25.05.11, 25.11.05 published. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-6428 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-6428?** Check whether you run Koha Community Koha at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in Koha's 'Items with no checkouts' report (reports/catalogue_out.pl). The root cause is the direct concatenation of the 'Filter' URL parameter into a SQL LIKE clause within the 'calculate' subroutine when the 'Criteria' parameter matches 'branchcode'. An authenticated staff user with 'reports' module permissions can use error-based SQL injection techniques (such as EXTRACTVALUE) to exfiltrate data from sensitive tables, including 'borrowers' (PII and hashes), 'sessions', and 'api_keys'. The vulnerability was introduced in 2008 and remained unpatched despite similar fixes in sibling files in 2015. It has been resolved in versions 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 by implementing parameterized queries.

## Affected products

- Koha Community Koha through 22.11.37, 23.x, 24.x before 24.11.16, 25.05.x before 25.05.11, 25.11.x before 25.11.05, 26.05.x before 26.05.01, 26.11.x before 26.11.00

## Timeline

- 2026-04-14: disclosed: Vulnerability reported to Koha Community via Bugzilla.
- 2026-06-09: patched: Security releases 22.11.38, 24.11.16, 25.05.11, 25.11.05 published.
- 2026-06-13: advisory: CVE-2026-6428 published.

## References

- [https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199539](https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199539)
- [https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42361](https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42361)
- [https://koha-community.org/security-releases/](https://koha-community.org/security-releases/)

## Related threats

- [Koha SQL injection in acquisitions ORDER BY parameter](https://junglewise.ai/threats/cve-2026-72609-koha-sql-injection-in-acquisitions-order-by-parameter)
- [Koha Library Management System stored XSS in item type administration page](https://junglewise.ai/threats/cve-2026-50767-koha-library-management-system-stored-xss-in-item-type)
- [Koha Library Management System stored XSS in OPAC item detail page](https://junglewise.ai/threats/cve-2026-50766-koha-library-management-system-stored-xss-in-opac-item-detail)
- [Koha Library Management System XSS in patron restriction type administration page](https://junglewise.ai/threats/cve-2026-50765-koha-library-management-system-xss-in-patron-restriction-type)
- [Koha SSRF in Z39.50 configuration module](https://junglewise.ai/threats/cve-2026-26379-koha-ssrf-in-z39-50-configuration-module)
