CVE-2026-105106

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

State
Published
Severity
8.8 High
Published
Oct 14, 2026
Updated
Oct 14, 2026
Reserved
Oct 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HTuranSec

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
KohaKoha Community
  • before 24.11.00Affected
  • 24.11.00 to before 24.11.20Affected
  • 25.05.00 to before 25.05.15Affected
  • 25.11.00 to before 25.11.09Affected
  • 26.05.00 to before 26.05.04Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.