0.0
NA
CVE-2026-70373
Koha: SQL Injection in reports/issues_stats.pl
Description

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.

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-70373 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
Remediate SQL injection vulnerability by validating and sanitizing user inputs used in database queries.
  • Validate all user-controlled input parameters.
  • Sanitize input used in SQL queries.
  • Use parameterized queries or prepared statements.
  • Apply principle of least privilege to database user.
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-70373.

URL Resource
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42735
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-70373 is associated with the following CWEs:

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-70373 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-70373 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/issues_stats.pl'], 'collectionURL': 'https://koha-community.org/', 'defaultStatus': 'unaffected'}]
    Added Description 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.
    Added CWE CWE-89
    Added Reference https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42735
    Added Reference https://download.koha-community.org/koha-25.05.12.tar.gz
    Added Reference https://koha-community.org/koha-25-05-12-released/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.