๐Ÿ” CVE Alert

CVE-2026-71288

HIGH 8.8

Koha SQL Injection via order_by and {order}_ovalue Parameters in guided_reports.pl

CVSS Score
8.8
EPSS Score
0.0%
EPSS Percentile
0th

Koha's guided report builder (reports/guided_reports.pl) reads the `order_by` CGI parameter and, for each value, a dynamically-named `{order}_ovalue` parameter, and concatenates both directly into an SQL ORDER BY clause with no allowlist or validation: `my @order_by = $input->multi_param('order_by'); foreach my $order (@order_by) { my $value = $input->param($order . "_ovalue"); $query_orderby = " ORDER BY $order $value"; }`. The resulting string is appended verbatim to the final query in C4::Reports::Guided (`$query .= $orderby;`) with no escaping. Since ORDER BY columns cannot be bound via prepared-statement placeholders, this requires an explicit allowlist, which does not exist. Any staff account with the low-privilege create_reports or execute_reports permission (commonly granted to non-admin library staff) can perform time-based blind SQL injection against the Koha database, which stores patron PII and staff/LDAP credentials.

CWE CWE-89
Vendor koha community
Product koha
Published Aug 5, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for koha community koha

Be the first to know when new high vulnerabilities affecting koha community koha are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

Koha Community / Koha
0 โ‰ค 26.05.01-1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Koha-Community/Koha github.com: https://github.com/Koha-Community/Koha/blob/master/reports/guided_reports.pl

Credits

Saidakbarxon Maxsudxonov