CVE-2026-71288 Koha SQL Injection via order_by and {order}_ovalue Parameters in guided_reports.pl

High 8.8 Published Updated

Attackers can inject SQL into the guided report builder via order_by parameters, allowing unauthorized data access or modification in Koha.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-71288?

CVE-2026-71288 is a high-severity SQL injection vulnerability in Koha, published on 5 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-89

Which versions are affected by CVE-2026-71288?

How do I fix CVE-2026-71288?

No fix has been published for CVE-2026-71288 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-71288 being exploited?

There is no known exploitation of CVE-2026-71288 in the wild and no public exploit code.

Sources

Also known as GHSA-q274-qf66-4hq6.

Is CVE-2026-71288 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free