CVE-2026-6428: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Koha Community Koha
CVE-2026-6428 is a medium severity SQL Injection vulnerability in Koha Community Koha affecting multiple versions prior to specific fixed releases. It allows an authenticated staff user with Reports module access to read arbitrary database data via the Filter URL parameter when the Criteria parameter is 'branchcode'. The vulnerability arises from unsafe concatenation of user input into an SQL LIKE clause without parameterization. It was introduced in 2008 and fixed in Koha versions 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 by using parameterized queries.
AI Analysis
Technical Summary
This vulnerability is an SQL Injection (CWE-89) in the reports/catalogue_out.pl script of Koha Community Koha. Authenticated staff users with the Reports module flag can exploit the Filter URL parameter when Criteria equals 'branchcode' to inject SQL code due to direct concatenation of unescaped input into a LIKE clause. This enables error-based SQL injection techniques, allowing reading of sensitive database tables such as borrowers (including password hashes and 2FA secrets), borrower_password_recovery, api_keys, and sessions. The flaw was introduced in 2008 and was not addressed by a prior patch (CVE-2015-4633) which fixed similar code elsewhere. The issue was fixed by replacing raw SQL concatenation with parameterized placeholders in Koha versions 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00.
Potential Impact
An authenticated staff user with Reports module access can exploit this vulnerability to perform error-based SQL injection, allowing them to read arbitrary sensitive data from the Koha application database. This includes access to borrower information such as password hashes, two-factor authentication secrets, personally identifiable information, password recovery data, API keys, and session information. The vulnerability does not allow unauthenticated access but compromises confidentiality of sensitive data within the application database.
Mitigation Recommendations
Fixed versions are available: Koha 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 include the patch replacing unsafe SQL concatenation with parameterized queries. Users should upgrade to these versions or later to remediate this vulnerability. No official vendor advisory content was provided, so patch status is inferred from the description. Patch status is confirmed by the presence of fixed versions. No additional mitigations are indicated.
CVE-2026-6428: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in Koha Community Koha
Description
CVE-2026-6428 is a medium severity SQL Injection vulnerability in Koha Community Koha affecting multiple versions prior to specific fixed releases. It allows an authenticated staff user with Reports module access to read arbitrary database data via the Filter URL parameter when the Criteria parameter is 'branchcode'. The vulnerability arises from unsafe concatenation of user input into an SQL LIKE clause without parameterization. It was introduced in 2008 and fixed in Koha versions 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 by using parameterized queries.
CVSS v4.0
Score 5.6medium
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 is an SQL Injection (CWE-89) in the reports/catalogue_out.pl script of Koha Community Koha. Authenticated staff users with the Reports module flag can exploit the Filter URL parameter when Criteria equals 'branchcode' to inject SQL code due to direct concatenation of unescaped input into a LIKE clause. This enables error-based SQL injection techniques, allowing reading of sensitive database tables such as borrowers (including password hashes and 2FA secrets), borrower_password_recovery, api_keys, and sessions. The flaw was introduced in 2008 and was not addressed by a prior patch (CVE-2015-4633) which fixed similar code elsewhere. The issue was fixed by replacing raw SQL concatenation with parameterized placeholders in Koha versions 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00.
Potential Impact
An authenticated staff user with Reports module access can exploit this vulnerability to perform error-based SQL injection, allowing them to read arbitrary sensitive data from the Koha application database. This includes access to borrower information such as password hashes, two-factor authentication secrets, personally identifiable information, password recovery data, API keys, and session information. The vulnerability does not allow unauthenticated access but compromises confidentiality of sensitive data within the application database.
Mitigation Recommendations
Fixed versions are available: Koha 22.11.38, 24.11.16, 25.05.11, 25.11.05, 26.05.01, and 26.11.00 include the patch replacing unsafe SQL concatenation with parameterized queries. Users should upgrade to these versions or later to remediate this vulnerability. No official vendor advisory content was provided, so patch status is inferred from the description. Patch status is confirmed by the presence of fixed versions. No additional mitigations are indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-04-16T12:58:10.800Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2d8ec6e617e2d834112b86
Added to database: 6/13/2026, 5:09:26 PM
Last enriched: 6/13/2026, 5:24:20 PM
Last updated: 6/13/2026, 6:12:22 PM
Views: 4
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.