All vulnerabilities

Servers and applications

CVE-2026-84981

Root RCE via double eval() on user-controlled config data in parse_object_kv_list() (func/main.sh)

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)Eval injection (CWE-95)
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-w3mx-xq85-8qqc
Sources
Project advisories (GitHub)

Description

An authenticated HestiaCP user can achieve remote code execution as root by storing a crafted payload in a user-controlled config field (cron job command, DNS TXT record, mail forward address). The payload is later evaluated twice by parse_object_kv_list() in func/main.sh — once in a sandboxed subshell and once directly in the calling root shell — allowing arbitrary command execution.

Location: func/main.sh — parse_object_kv_list() function

The function is used throughout the entire bin/v- CLI layer to parse structured lines from config files (cron.conf, web.conf, dns/.conf, mail.conf, etc.).

Root cause: The $() substitution sanitisation (str=${str//$/\$}) neutralises literal $ chars in the input string but suboutput is then iterated with a for loop split on whitespace. The set -xe trace output from the sandboxed step is captured in $suboutput.

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