CVE-2026-70373 PUBLISHED

Koha: SQL Injection in reports/issues_stats.pl

Assigner: TuranSec
Reserved: 04.08.2026 Published: 04.08.2026 Updated: 04.08.2026

Koha's reports/issues_stats.pl (the circulation statistics report) builds its calculation query in sub calculate by concatenating several user-controlled request parameters directly into the SQL string. The PeriodTypeSel, PeriodDaySel, and PeriodMonthSel parameters are interpolated raw into single-quoted equality and function-comparison fragments, and the Filter slots plus the Line and Column identifiers are likewise interpolated with no whitelist and no placeholder binding. An authenticated staff user holding the reports module permission can inject arbitrary SQL and read any table reachable by the Koha database user, including borrowers (password hashes, two-factor secrets, personal data), api_keys, and sessions.

Product Status

Vendor Koha Community
Product Koha
Versions Default: unaffected
  • affected from 0 to 24.11.17 (excl.)
  • affected from 25.05.00 to 25.05.12 (excl.)
  • affected from 25.11.00 to 25.11.06 (excl.)
  • affected from 26.05.00 to 26.05.01 (excl.)

References

Problem Types

  • CWE-89 SQL Injection CWE