Skip to main content
EPSS 0.3%top 77%

CVE-2026-70372: CWE-89 SQL Injection in Koha Community Koha

0
High
Published: 08/04/2026 (08/04/2026, 13:00:12 UTC)
Source: CVE Database V5
Vendor/Project: Koha Community
Product: Koha

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. 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.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Koha Community

Koha

Affected versions
>=0 <=24.11.17>=25.05.00 <=25.05.12>=25.11.00 <=25.11.06>=26.05.00 <=26.05.01
koha/koha
pkg:deb/koha/koha
Affected versions
=25.05.00=25.11.00=26.05.00

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 17:05:31 UTC

Technical Analysis

The vulnerability exists in Koha's reports/bor_issues_top.pl script within the subroutine 'calculate', which constructs SQL queries dynamically by directly concatenating several user-controlled request parameters. This improper handling allows an authenticated staff user with the reports module permission to perform SQL Injection attacks. Exploitation can lead to unauthorized reading of any database table accessible by the Koha database user, including sensitive tables containing borrower credentials, two-factor authentication secrets, personal data, API keys, and session data. The CVSS v3.1 base score is 8.8, indicating high severity with network attack vector, low attack complexity, required privileges at the level of an authenticated staff user, no user interaction, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows an authenticated staff user to execute arbitrary SQL queries on the Koha database, leading to unauthorized disclosure of sensitive information including borrower password hashes, two-factor authentication secrets, personal data, API keys, and session information. This compromises confidentiality, integrity, and availability of the affected system's data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict staff user permissions to minimize exposure and avoid granting reports module permissions to untrusted users. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-04T07:13:07.992Z
State
PUBLISHED

Threat ID: 6a71ec42bf8831d539e19d34

Added to database: 08/04/2026, 13:42:26 UTC

Last enriched: 08/11/2026, 17:05:31 UTC

Last updated: 09/17/2026, 22:01:37 UTC

Views: 55

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses