CVE-2026-70369
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Summary
Koha's reports/acquisitions_stats.pl builds its per-cell statistics query in sub calculate by interpolating the user-controlled Filter request parameters directly into WHERE fragments covering aqbasket.closedate, aqorders.datereceived, aqbooksellers.name, items.homebranch, items.ccode, biblioitems.itemtype, aqbudgets.budget_code, aqorders.sort1, and aqorders.sort2. The statement is prepared and executed with no bound parameters. 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), borrower_password_recovery, api_keys, and sessions.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Koha Community | Koha | 0 < 24.11.17 | affected |
| Koha Community | Koha | 25.05.00 < 25.05.12 | affected |
| Koha Community | Koha | 25.11.00 < 25.11.06 | affected |
| Koha Community | Koha | 26.05.00 < 26.05.01 | affected |
Weaknesses
- CWE-89: CWE-89 SQL Injection
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42360
- https://koha-community.org/koha-25-05-12-released/
- https://download.koha-community.org/koha-25.05.12.tar.gz
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.