Skip to main content

Koha ILS CVE-2026-72610

| EUVDEUVD-2026-56131 MEDIUM
SQL Injection (CWE-89)
2026-08-11 TuranSec GHSA-jjgf-vgv7-fgjv
4.3
CVSS 3.1 · Vendor: TuranSec
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as staff with edit_borrowers
  2. Delivery
    Inject SLEEP payload into patron lang field
  3. Exploit
    Victim staff prints issue slip for affected patron
  4. Execution
    Raw lang value concatenated into database subquery
  5. Persist
    Database executes time delay on each print
  6. Impact
    Circulation workflow disrupted persistently

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 a valid Koha staff account with the borrowers => edit_borrowers permission explicitly granted, which controls the ability to edit patron records. The vulnerability is triggered only when an issue slip is printed for the specific patron whose lang field contains the payload - this is a routine but discretionary circulation action, not an automatic or guaranteed event. The 25-character VARCHAR column limit prevents data extraction payloads (UNION SELECT, boolean inference chains) from fitting; only compact time-delay functions such as SLEEP(N) or BENCHMARK(N,expr) are practically injectable within this constraint. Patrons whose slips are never printed, or Koha instances where issue-slip printing is disabled or unused, are not exposed to the availability impact. Unauthenticated actors and authenticated staff lacking edit_borrowers permission cannot exploit this vulnerability.

Impact

The CVSS 3.1 base score of 4.3 (Medium) is well-calibrated for this vulnerability: the attack is network-reachable (AV:N) and requires only low-privilege staff credentials (PR:L), but impact is bounded to low availability (A:L) with no confidentiality or integrity consequence. No EPSS score was available in the provided intelligence, and the absence of a CISA KEV listing combined with no reported public exploit code indicates this is not currently a target of opportunistic or widespread exploitation. The principal real-world risk is operational disruption to library circulation workflows - repeated or long-sleep payloads silently stall slip printing, compounding invisibly across every future print event for the affected patron record. Even a mid-sized municipal library network in sanok would experience meaningful workflow friction if staff are unaware that a patron record carries a malicious payload, since the effect recurs on every routine slip print without obvious attribution. The attack is meaningfully constrained by the requirement for a valid Koha staff account with the specific edit_borrowers permission, narrowing the realistic threat actor population to malicious insiders, compromised staff accounts, or privilege-escalation pivots from another Koha flaw. The 25-character column ceiling is a hard technical limit on impact escalation - data breach and remote code execution are not plausible under current evidence.

Exploit ScenarioDerived

A staff member with the edit_borrowers permission accesses the patron edit screen and enters a 25-character SLEEP-based SQL payload into the lang field of a targeted patron record. When any staff member subsequently performs a routine issue-slip print for that patron - a standard checkout workflow step - the database executes the embedded delay, stalling the print-generation query and degrading the staff workstation's responsiveness. The disruption recurs silently on every future slip print for that patron and amplifies if multiple slip-news rows are configured, requiring no further attacker action after initial payload placement.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Stored SQL injection in Koha across all active release branches (24.11, 25.05, 25.11, 26.05) allows authenticated library staff holding the edit_borrowers permission to plant a compact time-based SLEEP payload in a patron's lang field, causing recurring denial-of-service each time an issue slip is printed for that patron. The 25-character column constraint prevents practical data extraction, confining real-world impact strictly to workflow disruption in the circulation slip-printing path. No public exploit code or active exploitation has been identified at time of analysis; the attack requires valid staff credentials scoped to a specific Koha permission.

RemediationAI

Upgrade Koha to the first patched release on the affected branch as documented in Koha Community Bug 42866 at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42866; exact fixed version numbers were not independently confirmed from the available input data and must be obtained from the official Koha release notes at https://koha-community.org/ for each supported branch (24.11, 25.05, 25.11, 26.05). As an immediate compensating control, database administrators can audit the patron lang column for SQL metacharacters - specifically semicolons and the keywords SLEEP and BENCHMARK - and sanitize any affected records. Restricting the borrowers => edit_borrowers permission to the smallest necessary set of trusted staff accounts eliminates the attacker surface; this trade-off is low-impact in most libraries where patron editing is already a limited role. Temporarily suspending issue-slip printing removes the trigger mechanism entirely but disrupts normal circulation workflows and should be treated as a break-glass measure only.

Affected VersionsENISA

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

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 (CPE: cpe:2.3:a:koha_community:koha) is an open-source Integrated Library System written primarily in Perl, widely deployed by public, academic, and school libraries worldwide. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): the patron lang field value is concatenated directly and without parameterization into a subquery inside the Perl method Koha::AdditionalContents->search_for_display, which executes during issue-slip generation. Because the underlying database column is defined as VARCHAR(25), only short injectable expressions such as compact SLEEP() or BENCHMARK() calls fit within the constraint, rendering UNION-based data extraction and boolean-based enumeration infeasible. The stored nature of the injection means the payload persists in the database record and fires on every subsequent issue-slip print event for the affected patron, with cumulative delay scaling linearly with the SLEEP argument multiplied by the number of configured slip-news rows.

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 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 4.3 MEDIUM

Requires authenticated staff with edit_borrowers (PR:L); impact is availability-only via time delay; no scope change, confidentiality, or integrity effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/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
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 13:17 EUVD

DescriptionCVE.org

A stored SQL injection vulnerability in Koha through 24.11.17, 25.05.12, 25.11.06, and 26.05.01 allows authenticated staff with the borrowers => edit_borrowers permission to cause a time-based denial of service by storing a SQL payload in a patron lang field. The value is concatenated raw into a subquery in Koha::AdditionalContents->search_for_display when an issue slip is printed for the affected patron. The 25-character column length limits exploitation to timing attacks; data extraction is not practical. The stored payload executes on each subsequent issue-slip print, scaling linearly with the SLEEP value and the number of slip-news rows.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
globally used in library sector, niche outside that domain
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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