Skip to main content

Koha EUVDEUVD-2026-56130

| CVE-2026-72609 HIGH
SQL Injection (CWE-89)
2026-08-11 TuranSec GHSA-f66q-gpm5-hp2p
7.1
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain staff credentials with order_receive permission
  2. Delivery
    Authenticate to Koha web interface
  3. Exploit
    Send crafted orderby payload to acqui/parcels.pl
  4. Execution
    Inject SQL time-delay into ORDER BY direction token
  5. Persist
    Blind-extract database rows via response timing
  6. Impact
    Retrieve password hashes and TOTP secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to be an authenticated Koha staff user with the acquisition => order_receive permission explicitly granted - this is a named, non-default Koha permission within the acquisitions module and must be deliberately assigned by a superlibrarian or administrator. No special network position is required; the vulnerable endpoint is reached over standard HTTP/HTTPS. Exploitation is exclusively blind (time-based) in production - direct UNION-based data retrieval is not available, meaning extraction is slow, iterative, and detectable via database slow-query logs or anomalous response-time monitoring. The attack is constrained to database READ operations only; no INSERT, UPDATE, or DELETE injection capability is described. External attackers without pre-existing staff credentials cannot reach this vulnerability directly - initial account compromise or insider threat is a prerequisite.

Impact

The CVSS 3.1 score of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L) accurately captures the network reachability and high confidentiality impact but must be interpreted alongside the specific privilege requirement. Exploitation is gated behind two conditions: valid staff authentication and possession of the acquisition => order_receive permission, which is not granted to all staff by default. This narrows the real-world attacker pool significantly compared to an unauthenticated network flaw. No EPSS score was provided in the input data, and the vulnerability is not listed in CISA KEV, so widespread opportunistic exploitation has not been confirmed. The A:L metric reflects that iterative time-based injection queries (e.g., SLEEP) can impose measurable database load. The absence of write impact (I:N) limits direct data destruction, but extraction of bcrypt hashes and TOTP secrets enables secondary account-takeover attacks with potentially broader scope than a single SQLi read. This is a genuine medium-to-high operational priority for library administrators, not a theoretical risk, given that credential exfiltration can result in full platform compromise.

Exploit ScenarioDerived

A Koha staff member with the acquisition => order_receive permission sends a crafted HTTP request to acqui/parcels.pl with an orderby parameter such as column_name ASC,(SELECT SLEEP(5)) - injecting a time-delay payload into the unvalidated direction token. The attacker iterates character-by-character over sensitive tables, measuring response latency to blindly extract patron email addresses, staff bcrypt password hashes, and stored TOTP secrets, then uses the recovered credentials to escalate access or pivot to other systems. No public proof-of-concept code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

SQL injection in Koha's acquisition module enables authenticated staff to blindly extract the entire database - including patron PII, staff bcrypt password hashes, and two-factor authentication secrets - via a crafted ORDER BY direction token in the acqui/parcels.pl endpoint. All active Koha release branches are affected through versions 24.11.17, 25.05.12, 25.11.06, and 26.05.01, meaning any library running a current release is exposed. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV, but successful exploitation yields credentials that could cascade into full staff account takeover.

RemediationAI

Monitor the Koha community bug report at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42749 and the release announcements at https://koha-community.org/ for a patched version; no fixed release has been confirmed from available data. As a compensating control, immediately audit and restrict the acquisition => order_receive permission to the minimum number of trusted staff accounts operationally required - reducing this grants fewer entry points without affecting patrons or non-acquisition staff. Enabling web application firewall rules that detect time-based SQL injection payloads (SLEEP, WAITFOR DELAY, BENCHMARK) in query parameters can provide detection and blocking capability with the trade-off of potential false positives on legitimate ORDER BY requests. Network-level controls that restrict database server egress to only necessary application hosts limit the utility of extracted data. Forced password rotation for all staff accounts with the affected permission should be considered if exploitation cannot be ruled out, given that bcrypt hashes and TOTP secrets may already have been targeted.

Affected VersionsENISA

Koha 0 <24.11.18
Koha 25.11.0 <25.11.07
Koha 26.05.0 <26.05.02
Koha 25.05.0 <25.05.13

Affected Packages

euvd koha fix: 24.11.18, 25.05.13, 25.11.07, 26.05.02

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Koha is an open-source integrated library system (ILS) built in Perl. The vulnerable endpoint is acqui/parcels.pl, which handles acquisition parcel and invoice management. The orderby HTTP parameter is passed directly to the C4::Acquisition::GetInvoices Perl function. While that function applies an allow-list to sanitize the column name portion of the ORDER BY clause - a partial and incomplete control - it concatenates the sort direction token (expected to be ASC or DESC) into the SQL string without any validation or parameterization. An attacker can inject arbitrary SQL into this direction slot, yielding a time-based blind SQL injection (CWE-89: Improper Neutralization of Special Elements used in an SQL Command). Because the database stores patron personally identifiable information, staff bcrypt password hashes, and TOTP two-factor secrets in accessible tables, the read-only exploit surface translates to severe downstream credential exposure.

Know when Koha gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (TuranSec) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
vuln.today AI 7.1 HIGH

Network-accessible endpoint; PR:L reflects required staff authentication with specific permission; C:H for full database read; I:N read-only; A:L for time-based query load.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (TuranSec).

CVSS VectorVendor: TuranSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 13:17 EUVD
CVE Published
Aug 11, 2026 - 11:22 cve.org
HIGH 7.1

DescriptionCVE.org

An SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the acquisition => order_receive permission to read arbitrary database contents via the orderby request parameter in acqui/parcels.pl. The parameter is passed to C4::Acquisition::GetInvoices, which allow-lists the column name but concatenates the direction token raw into the SQL ORDER BY clause without validation. Exploitation is blind (time-based) in production and allows extraction of patron PII, staff bcrypt password hashes, and two-factor secrets.

Executive ViewAI

Why It Matters

Koha library management systems versions 24.11.17 through 26.05.01 contain a database vulnerability that could enable staff members with acquisition module access to extract patron and staff credentials, exposing all libraries running current Koha releases to account takeover risk and data breach liability. No public exploit has been identified at time of analysis, but the absence of a vendor patch means organizations must implement compensating controls immediately. This represents a material security and compliance risk for any library affected.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Restrict acquisition module access to essential staff only via role-based access control. Require multi-factor authentication for all staff accessing the acqui/parcels.pl endpoint. Implement database-level query logging for the acquisitions schema with alerting on bulk SELECT operations. Network-segregate the acquisition module from internet access where possible. Conduct weekly audits of staff account activity and establish process to revoke accounts immediately upon separation.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Medium
widely used open-source ILS in public and academic libraries globally
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Koha

View all
CVE-2024-28740 CRITICAL POC
9.6 Aug 06

Cross Site Scripting vulnerability in Koha ILS 23.05 and before allows a remote attacker to execute arbitrary code via t

CVE-2018-1000669 HIGH POC
8.8 Sep 06

KOHA Library System version 16.11.x (up until 16.11.13) and 17.05.x (up until 17.05.05) contains a Cross Site Request Fo

CVE-2024-24337 HIGH POC
8.0 Feb 12

CSV Injection vulnerability in '/members/moremember.pl' and '/admin/aqbudgets.pl' endpoints in Koha Library Management S

CVE-2024-28739 HIGH POC
7.2 Aug 06

An issue in Koha ILS 23.05 and before allows a remote attacker to execute arbitrary code via a crafted script to the for

CVE-2018-1000670 MEDIUM POC
6.1 Sep 06

KOHA Library System version 16.11.x (up until 16.11.13) and 17.05.x (up until 17.05.05) contains a Cross Site Scripting

CVE-2026-26377 MEDIUM POC
5.4 Mar 05

Koha versions 25.11 and earlier contain a stored cross-site scripting vulnerability in the News function that allows aut

CVE-2023-5025 MEDIUM POC
5.4 Sep 17

A vulnerability was found in KOHA up to 23.05.03. Rated medium severity (CVSS 5.4), this vulnerability is remotely explo

CVE-2026-105106 HIGH
8.8 Oct 14

OS command injection in the Koha integrated library system lets an authenticated staff account holding the tools => sche

CVE-2026-19780 HIGH
8.8 Sep 15

Authenticated remote code execution in Koha lets anyone who can reach the affected web service on TCP port 8081 feed a c

CVE-2026-71288 HIGH
8.8 Aug 05

SQL injection in Koha's guided report builder (`reports/guided_reports.pl`) allows any authenticated staff member holdin

CVE-2015-4639 HIGH
8.8 Jul 21

Cross-site scripting (XSS) vulnerability in opac-addbybiblionumber.pl in Koha 3.14.x before 3.14.16, 3.16.x before 3.16.

CVE-2026-31844 HIGH
8.7 Mar 11

SQL injection in the Koha library management system's staff interface allows authenticated users to manipulate the displ

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy