PATH hijacking in HestiaCP lets low-privileged users run code as root
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-427.
Summary
Hestia Control Panel from 1.9.7 before 1.10.5 does not escape single quotes when saving a custom document-root value to a user's web.conf file, which lets a user inject an extra PATH field (CWE-427). A low-privileged authenticated panel user with a web domain can use the ordinary Search feature to get the root-run search script to load that PATH, so the user can run arbitrary code as root.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
Hestia Control Panel is a lightweight and powerful control panel for the modern web. From version 1.9.7 through 1.10.4, update_object_value() in func/main.sh does not escape single quotes when writing a custom document-root value to a user's web.conf file, allowing a low-privileged authenticated panel user with a web domain to inject an additional PATH field. When the user invokes the ordinary Search feature, the root-privileged v-search-user-object script loads the forged field through parse_object_kv_list_non_eval(), which permits reserved shell-variable names and globally replaces PATH before invoking column without an absolute path. By placing a malicious column executable in the injected search path, the user can execute arbitrary code as root. This residual vulnerability was introduced when version 1.9.7 replaced the raw eval sink addressed by CVE-2026-84984 with parse_object_kv_list_non_eval(), and it is fixed in version 1.10.5.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Update Hestia Control Panel to version 1.10.5, which fixes this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
- Fix · CNA hestiacp (hestiacp) Fixed in 1.10.5
Timeline
- 2026-10-15 Threatist record created from CVE-2026-108390
References
More hestiacp vulnerabilities
- TI-2026-31737 HestiaCP 1.9.0-1.9.4 Deserialization RCE via Web Terminal CVSS 4.0CRITICAL 9.5
- TI-2026-31738 HestiaCP 1.2.0-1.9.4 IP Spoofing via CF-Connecting-IP Header CVSS 4.0HIGH 8.7
- TI-2026-75413 HestiaCP Protected Admin Bypass via Cron Job Creation CVSS 4.0HIGH 8.6
- TI-2026-10488 HestiaCP Admin Takeover CVSS 4.0HIGH 8.3
- TI-2023-05375 Privilege Chaining in hestiacp/hestiacp CVSS 3.1HIGH 7.8
- TI-2022-02355 OS Command Injection in hestiacp/hestiacp CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences