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.
Affected software
| Software | Affected versions |
|---|---|
Hestia Control PanelServers and applications · github:hestiacp/hestiacp |
|
About Hestia Control Panel
Hestia Control Panel | A lightweight and powerful control panel for the modern web.
- 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
Vulnerabilities in Hestia Control Panel
- In our list
- 52
- Published in the last 12 months
- 35
- Critical, last 12 months
- 11
- High, last 12 months
- 13
- Known exploited
- 0
- GHSA-wp7p-qfxc-cg88Local Privilege Escalation (to root) via Symlink TOCTOU in v-add-user-ssh-key and v-add-user-sftp-keyHigh 8.8 14 Nov 2026
- GHSA-4435-q39q-3vp9Symlinked ~/backup makes the restic config dump delete and write files as rootHigh 7.1 14 Nov 2026
- GHSA-pfj7-fhx8-q4qxSymlink following in v-add-mail-account allows any panel user to take ownership of arbitrary root files (/etc/shadow -> root)High 8.5 14 Nov 2026
- GHSA-chw8-phjg-wmq7API user check skipped for v-quick-install-appMedium 5.0 14 Nov 2026
- GHSA-vxpc-8vm2-8rv3API access-key secret and command arguments (user passwords) are logged in clear text to auth.log/journal by sudoMedium 14 Nov 2026
- GHSA-p4vq-6v6h-cc74HestiaCP's read-only enforcement for protected-admin sessions misses its POST endpoints, letting a secondary admin mint root-level API keys and switch off the protection itselfCritical 9.6 14 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-84979
- GitHub Advisory Database https://github.com/advisories/GHSA-5fpv-c8rg-x6r3
- github.com https://github.com/hestiacp/hestiacp/security/advisories/GHSA-5fpv-c8rg-x6r3