SecurityContext

CVE-2026-70371: Koha - SQL Injection

  • Cve: CVE-2026-70371
  • Name: Koha - SQL Injection
  • Description: Koha's reports/issues_avg_stats.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Line and Column parameters are not validated against any whitelist and land verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY), and each Filter slot is concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments with no bound parameters.
  • Impact: Authenticated staff users can execute arbitrary SQL queries, exposing sensitive data including passwords, two-factor secrets, and personal information.
  • Remediation: Update to the latest version with proper input validation and parameterized queries.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated with reports module permission
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00567
  • Epss percentile: 0.47689
  • Assignee: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
  • Published at: 2026-08-04T13:18:57Z
  • Age in days: 112
  • Modified at: 2026-10-23T23:10:00Z
  • References total: 3
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-70371
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42368
https://download.koha-community.org/koha-25.05.12.tar.gz
https://koha-community.org/koha-25-05-12-released/

Products

ProductAffectedPlatform boundSourcesUrl
koha:koha>= 26.05.00, <= 26.05.01; >= 25.11.00, <= 25.11.06; >= 25.05.00, <= 25.05.12; <= 24.11.17nocna_alias/v1/products/koha/koha

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 5753
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports