CVE-2026-70369
Koha: SQL Injection in reports/acquisitions_stats.pl
Description
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.
INFO
Published Date :
Aug. 4, 2026, 1:18 p.m.
Last Modified :
Aug. 4, 2026, 1:18 p.m.
Remotely Exploit :
No
Source :
309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Affected Products
The following products are affected by CVE-2026-70369
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Validate and sanitize all user input used in SQL queries.
- Use parameterized queries or prepared statements.
- Restrict database user privileges.
- Review and update Koha to the latest version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-70369.
| URL | Resource |
|---|---|
| https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42360 | |
| https://download.koha-community.org/koha-25.05.12.tar.gz | |
| https://koha-community.org/koha-25-05-12-released/ |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-70369 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-70369
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-70369 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-70369 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
Aug. 04, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://gitlab.com/koha-community/Koha', 'vendor': 'Koha Community', 'product': 'Koha', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '24.11.17', 'versionType': 'semver'}, {'status': 'affected', 'version': '25.05.00', 'lessThan': '25.05.12', 'versionType': 'semver'}, {'status': 'affected', 'version': '25.11.00', 'lessThan': '25.11.06', 'versionType': 'semver'}, {'status': 'affected', 'version': '26.05.00', 'lessThan': '26.05.01', 'versionType': 'semver'}], 'programFiles': ['reports/acquisitions_stats.pl'], 'collectionURL': 'https://koha-community.org/', 'defaultStatus': 'unaffected'}] Added Description 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. Added CWE CWE-89 Added Reference https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42360 Added Reference https://download.koha-community.org/koha-25.05.12.tar.gz Added Reference https://koha-community.org/koha-25-05-12-released/