Description
Koha is vulnerable to OS command injection in the Task Scheduler deletion path. The tools/scheduler.pl handler accepts the jobid request parameter for op=cud-delete and passes it to C4::Scheduler::remove_at_job without validating it. Schedule::At::remove substitutes the supplied job ID into an atrm command string without quoting or escaping it and executes the command through a single-argument system() call, which invokes the shell. An authenticated staff user with the tools => schedule_tasks permission can therefore execute arbitrary operating-system commands as the Koha web/application user by supplying shell metacharacters in jobid. The issue is fixed in Koha 24.11.20, 25.05.15, 25.11.09, and 26.05.04, and in the 26.11 development branch.
Published: 2026-10-14
Score: 8.8 High
EPSS: 1.9% Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

Initiated by an authenticated staff user, the attacker supplies a crafted jobid value to the tools/scheduler.pl handler during a scheduled‑task deletion. The kernel of the flaw lies in the C4::Scheduler::remove_at_job routine, which substitutes the jobid directly into an atrm command string without quoting or escaping. This command is then executed via a single‑argument system() call, which spawns a shell. The result is that arbitrary operating‑system commands run with the privileges of the Koha web/application user. The weakness is a classic OS command injection (CWE‑78), exposing the system to complete compromise.

Affected Systems

Affected products are the Koha Community edition. Any installation using versions older than the releases that contain the fix – notably prior to 24.11.20, 25.05.15, 25.11.09, 26.05.04, or the current 26.11 development branch – is vulnerable. These releases are identified as Koha 24, 25, and 26 series with the listed patch versions.

Risk and Exploitability

The scoring reflects a high severity: a CVSS of 8.8 indicates a critical confidence that attackers can execute code if they have at least staff authentication and the schedule_tasks permission. An EPSS of 2% suggests that, while the vulnerability is not extremely common, there is a measurable risk of exploitation. The vulnerability is not yet documented in CISA’s KEV catalog, but any exposed Koha instance that grants the relevant permission is a valid target. The attacker needs to authenticate via the web interface and submit the carefully crafted jobid parameter; no remote code execution without that privilege level is indicated.

Generated by OpenCVE AI on October 16, 2026 at 00:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Koha 24.11.20, 25.05.15, 25.11.09, 26.05.04, or later development releases that incorporate the patch
  • Restrict the tools => schedule_tasks permission to the minimal set of trusted staff accounts to reduce the user surface
  • As an interim measure, temporarily disable or remove the tools/scheduler.pl deletion endpoint or turn off the Task Scheduler feature if it is not essential

Generated by OpenCVE AI on October 16, 2026 at 00:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 17 Oct 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Koha-community
Koha-community koha
Vendors & Products Koha-community
Koha-community koha

Wed, 14 Oct 2026 07:30:00 +0000

Type Values Removed Values Added
Description Koha is vulnerable to OS command injection in the Task Scheduler deletion path. The tools/scheduler.pl handler accepts the jobid request parameter for op=cud-delete and passes it to C4::Scheduler::remove_at_job without validating it. Schedule::At::remove substitutes the supplied job ID into an atrm command string without quoting or escaping it and executes the command through a single-argument system() call, which invokes the shell. An authenticated staff user with the tools => schedule_tasks permission can therefore execute arbitrary operating-system commands as the Koha web/application user by supplying shell metacharacters in jobid. The issue is fixed in Koha 24.11.20, 25.05.15, 25.11.09, and 26.05.04, and in the 26.11 development branch.
Title Koha authenticated OS command injection in tools/scheduler.pl via the jobid parameter when deleting a scheduled task
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Koha-community Koha
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-10-14T17:56:36.316Z

Reserved: 2026-10-03T11:45:52.353Z

Link: CVE-2026-105106

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T08:17:03.587

Modified: 2026-10-15T15:53:08.287

Link: CVE-2026-105106

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T05:30:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')