CVE-2026-70372

MEDIUM

Koha: SQL Injection in reports/bor_issues_top.pl

Title source: cna
STIX 2.1

Description

Koha's reports/bor_issues_top.pl builds dynamic SQL in sub calculate by concatenating several user-controlled request parameters directly into the query string. The Criteria parameter is only normalized by a table-name prefix and is never whitelisted, landing verbatim in identifier positions (SELECT DISTINCTROW, GROUP BY, ORDER BY); Filter values are concatenated raw into single-quoted LIKE, BETWEEN, and comparison fragments, and the Limit parameter is appended raw to a LIMIT clause. 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.

Scores

CVSS v3 6.5
EPSS 0.0031
EPSS Percentile 22.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (4)
Koha Community/Koha < 24.11.17
Koha Community/Koha 25.05.00 - 25.05.12
Koha Community/Koha 25.11.00 - 25.11.06
Koha Community/Koha 26.05.00 - 26.05.01
Published Aug 04, 2026
Tracked Since Aug 04, 2026