All vulnerabilities

Servers and applications

CVE-2026-84984

Low-privilege to root command execution via unescaped web.conf path fields evaluated by v-search-user-object

Severity
Critical 9.9
Published
17 Jul 2026
Last changed
3 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.9.7
Weakness
OS command injection (CWE-78)Code injection (CWE-94)
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-cr7q-frhq-xw4v
Sources
Project advisories (GitHub)

Description

A low-privileged HestiaCP panel user can achieve arbitrary command execution as root. Web-domain configuration fields (CUSTOM_DOCROOT/CUSTOM_PHPROOT and FTP_PATH) are written into a domain's web.conf without escaping single quotes, and the root-run search helper v-search-user-object later parses each stored config line with eval "$data". A crafted directory/path name containing a single quote plus a command substitution breaks out of the KEY='value' format and executes as root when the user triggers the panel Search feature.

The panel runs every bin/v- script as root via sudoers (hestiaweb ALL=NOPASSWD:/usr/local/hestia/bin/). web/search/index.php runs v-search-user-object json as root; the non-admin branch searches the logged-in user's own config, so any authenticated low-priv user reaches it.

  • Unsafe sink: bin/v-search-user-object:119 runs eval "$data" (also :34, :73, :74) over each grep-matched config line before any type validation.
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.7

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