CVE-2026-105106

Koha authenticated OS command injection in tools/scheduler.pl via the jobid parameter when deleting a scheduled task

Published Oct 14, 2026 CVSS 3.1 · 8.8 High EPSS 1.6% KEV · Not listed
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.

Analysis

AI-generated

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

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Koha-community
Koha-community koha
Vendors & Products Koha-community
Koha-community koha
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'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
TuranSec
Published
Updated
Oct 14, 2026, 5:56 PM
Reserved
Oct 3, 2026, 11:45 AM
Status
Deferred
Published
Oct 14, 2026, 8:17 AM
Modified
Oct 15, 2026, 3:53 PM