All vulnerabilities

Servers and applications

CVE-2026-84979

Client to Root RCE via Newline Injection in v-add-cron-job and Eval Stdout Poisoning in parse_object_kv_list

Severity
Critical 9.9
Published
17 Jul 2026
Last changed
3 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.5
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-5fpv-c8rg-x6r3
Sources
Project advisories (GitHub)

Description

A low-privileged HestiaCP user can achieve remote code execution as root by injecting newline characters into the cron command field. The command is passed to echo without quoting in v-add-cron-job, allowing the attacker to inject a -e flag and \n escape sequence to split the cron configuration into two lines — one controlled by the attacker.

The injected line is then processed by parse_object_kv_list, which runs an inner eval sandboxed as nobody via setpriv. However, the sandbox is bypassed by injecting a printf command whose stdout output is mixed into the captured subprocess output. The outer loop blindly evals any line matching a KEY=VALUE regex — including the attacker's printf output containing $(command). This outer eval runs as root, executing arbitrary commands.

The attack requires only a single authenticated HTTP POST request. No file upload, no SSH access, no waiting for cron execution. Root code execution is instant upon form submission.

From hestiacp/hestiacp's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Hestia Control PanelServers and applications · github:hestiacp/hestiacp
  • Every version before 1.9.5

About Hestia Control Panel

Hestia Control Panel | A lightweight and powerful control panel for the modern web.

From its GitHub repository.
GitHub stars
4,578GitHub, 15 Nov 2026
Forks
964GitHub, 15 Nov 2026
Latest release
1.10.7GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
GPL-3.0GitHub
First published on GitHub
7 Nov 2018GitHub

References