CVE-2026-71288: CWE-89 in Koha Community Koha
Koha's guided report builder (reports/guided_reports.pl) reads the CGI parameter and, for each value, a dynamically-named parameter, and concatenates both directly into an SQL ORDER BY clause with no allowlist or validation. Since ORDER BY columns cannot be bound via prepared-statement placeholders, this requires an explicit allowlist, which does not exist.
AI Analysis
Technical Summary
Koha Community's guided report builder script (reports/guided_reports.pl) reads CGI parameters and dynamically constructs an SQL ORDER BY clause by concatenating these parameters directly without any allowlist or validation. Since ORDER BY columns cannot be parameterized using prepared statements, the absence of an explicit allowlist leads to a SQL injection vulnerability (CWE-89). This flaw allows an attacker with low privileges to execute arbitrary SQL commands, impacting confidentiality, integrity, and availability of the system. The vulnerability has a CVSS 3.1 base score of 8.8, indicating high severity. No patch or remediation level is currently provided by the vendor, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker with low privileges to execute arbitrary SQL commands via the ORDER BY clause in the guided report builder. This can lead to full compromise of the system's confidentiality, integrity, and availability, including unauthorized data access, data modification, or denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or mitigation is released, restrict access to the guided report builder functionality to trusted users only and monitor for suspicious activity related to report generation. Avoid exposing this functionality to untrusted users.
CVE-2026-71288: CWE-89 in Koha Community Koha
Description
Koha's guided report builder (reports/guided_reports.pl) reads the CGI parameter and, for each value, a dynamically-named parameter, and concatenates both directly into an SQL ORDER BY clause with no allowlist or validation. Since ORDER BY columns cannot be bound via prepared-statement placeholders, this requires an explicit allowlist, which does not exist.
CVSS v3.1
Score 8.8high
Affected software
Koha Community
Koha
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Koha Community's guided report builder script (reports/guided_reports.pl) reads CGI parameters and dynamically constructs an SQL ORDER BY clause by concatenating these parameters directly without any allowlist or validation. Since ORDER BY columns cannot be parameterized using prepared statements, the absence of an explicit allowlist leads to a SQL injection vulnerability (CWE-89). This flaw allows an attacker with low privileges to execute arbitrary SQL commands, impacting confidentiality, integrity, and availability of the system. The vulnerability has a CVSS 3.1 base score of 8.8, indicating high severity. No patch or remediation level is currently provided by the vendor, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker with low privileges to execute arbitrary SQL commands via the ORDER BY clause in the guided report builder. This can lead to full compromise of the system's confidentiality, integrity, and availability, including unauthorized data access, data modification, or denial of service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix or mitigation is released, restrict access to the guided report builder functionality to trusted users only and monitor for suspicious activity related to report generation. Avoid exposing this functionality to untrusted users.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-08-05T12:23:34.968Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a7336e7bf8831d539ed92f2
Added to database: 08/05/2026, 13:13:11 UTC
Last enriched: 08/12/2026, 14:35:44 UTC
Last updated: 09/19/2026, 10:01:33 UTC
Views: 55
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.