Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify exposed HestiaCP with web terminal
-
DeliverySend HTTP request with crafted spoofed headers
-
ExploitPHP session handler persists attacker bytes into sess_<id> file
-
InstallConnect to web terminal WebSocket with matching HESTIASID cookie
-
C2Node.js parser misreads injected 'user|s:' token as trusted username
-
ExecuteInjected payload executed in root shell command
-
ImpactFull server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The HestiaCP web terminal component (src/deb/web-terminal/server.js, shipped as the optional WEB_TERMINAL build feature) must be installed and running and reachable by the attacker over the network on a vulnerable 1.9.0-1.9.4 instance. The attacker also needs the ability to cause PHP-side session creation containing attacker-controlled bytes - practically achieved by sending HTTP requests whose headers PHP serializes into the session store (the companion CVE-2026-43634 IP-spoofing weakness is one such primitive). No HestiaCP credentials, user interaction, prior foothold, or non-default elevation is required; installations that never enabled the web terminal feature are not exploitable through this CVE. |
| Impact | Signals are strongly aligned toward high real-world risk: CVSS 4.0 9.5 with AV:N/AC:L/PR:N/UI:N indicates network-reachable, low-complexity, unauthenticated exploitation with high confidentiality, integrity, and availability impact and scope change to subsequent systems (SC:H/SI:H/SA:H), matching the description's claim of root-level RCE. AT:P (attack requirements: present) reflects the limiting precondition that the web terminal feature must be enabled. The CVE is not currently listed in CISA KEV and no EPSS score was provided in the input, so widespread automated exploitation cannot yet be asserted; however, VulnCheck (the reporter) has published a detailed write-up and the upstream patch diff plainly reveals the vulnerable parser, lowering the bar to weaponization. Defenders running HestiaCP with the web terminal exposed to the internet should treat this as a priority-1 patch. |
| Exploit ScenarioDerived | An attacker reaches a HestiaCP instance with the web terminal enabled over the internet, sends HTTP requests whose headers (e.g., spoofed client IP fields that PHP records into the session blob) embed crafted 'user|s:'-style payload fragments, then connects to the web terminal WebSocket with a matching HESTIASID cookie pointing at the poisoned session file. The Node.js server's naive split-based parser extracts the attacker's injected string as the trusted username and substitutes it into a shell command run as root, yielding immediate full server compromise. No authentication or user interaction is required and no public exploit identified at time of analysis, though the patch diff makes the bug trivially reconstructable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 19, 2026
Unauthenticated root-level remote code execution affects HestiaCP versions 1.9.0 through 1.9.4 when the optional web terminal feature is enabled, stemming from a session-handling format mismatch (CWE-502) between the PHP backend and the Node.js web terminal. Remote attackers can inject crafted HTTP header data that PHP writes into session storage but Node.js parses with naive string splitting, yielding arbitrary command execution as root; no public exploit identified at time of analysis, though VulnCheck has published a technical advisory and the upstream patch is publicly diffable.
RemediationAI
Upgrade HestiaCP to the version containing fix commit 854d71b3c1737b0a0d0cc55c926008ffe1f6719b (merged via PR https://github.com/hestiacp/hestiacp/pull/5244); a vendor-released patched build is available per the project's release channel, and operators should track the GitHub release tagged after 1.9.4 for the exact version string. Until the upgrade is applied, disable the web terminal feature in the HestiaCP admin panel - this fully eliminates the attack surface at the cost of removing browser-based shell access for administrators. As a partial network-layer compensating control, restrict access to the HestiaCP management port (default 8083) and the web terminal WebSocket endpoint to a trusted management VLAN or VPN using iptables/ufw, accepting the trade-off that admins lose remote console access from arbitrary networks. Review the VulnCheck advisory (https://www.vulncheck.com/advisories/hestiacp-deserialization-rce-via-web-terminal) and the upstream issue (https://github.com/hestiacp/hestiacp/issues/5229) for detection guidance; note that CVE-2026-43634 (IP spoofing) is referenced alongside this issue and should be remediated together.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HestiaCP is an open-source Linux web hosting control panel. Its optional web terminal ships as a Node.js WebSocket server (src/deb/web-terminal/server.js) that reuses the PHP control panel's filesystem session store. The pre-patch Node.js code read /data/sessions/sess_<id> directly and extracted the authenticated username with brittle substring parsing such as session.split('user|s:')[1].split('"')[1] against PHP's serialized session format. Because PHP's session handler will persist attacker-controllable request data (notably the spoofable client IP/header values that PHP serializes into the session file) and the Node.js side never validated session integrity, an attacker can poison the serialized blob with synthetic 'user|s:' tokens that the Node parser treats as a trusted username, which is then passed into a shell command executed as root. This is a classic deserialization-trust-boundary failure (CWE-502) compounded by mixing two languages' session encodings. The fix replaces the ad-hoc string split with a dedicated PHP helper (web-terminal-session-auth.php) invoked via execFileSync that performs a proper session_start() and returns JSON, and additionally hardens cookie parsing so duplicate or malformed HESTIASID cookies are rejected.
Know when Hestiacp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
HestiaCP versions 1.9.0 through 1.9.4 contain a deserialization vulnerability in the web terminal component caused by a session format mismatch between PHP and Node.js that allows unauthenticated remote attackers to achieve root-level code execution. Attackers can inject crafted data into HTTP headers that are processed by the PHP session handler but incorrectly deserialized by the Node.js web terminal component as trusted session values, resulting in arbitrary command execution on systems with the web terminal feature enabled.
Executive ViewAI
HestiaCP versions 1.9.0 through 1.9.4 contain a critical vulnerability in the web terminal feature that allows unauthenticated remote attackers to achieve root-level command execution without credentials. Any organization using affected versions faces complete system compromise, enabling unauthorized access to hosted services and customer data. Immediate remediation is essential to prevent infrastructure takeover.
Apply vendor patch. If immediate patching cannot be completed, disable the web terminal feature in HestiaCP configuration to remove the attack vector.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
hestiacp is vulnerable to Use of Wrong Operator in String Comparison. Rated critical severity (CVSS 9.8), this vulnerabi
Improper Control of Generation of Code ('Code Injection') in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated h
OS Command Injection in GitHub repository hestiacp/hestiacp prior to 1.6.5. Rated high severity (CVSS 8.8), this vulnera
Command Injection Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.12. Rated high severity (CVSS 8.8),
Authentication security bypass in HestiaCP 1.2.0 through 1.9.4 allows unauthenticated remote attackers to spoof their so
Privilege Chaining in GitHub repository hestiacp/hestiacp prior to 1.8.9. Rated high severity (CVSS 7.8), this vulnerabi
Incorrect Privilege Assignment in GitHub repository hestiacp/hestiacp prior to 1.6.6. Rated high severity (CVSS 7.2), th
In the Password Reset Module in VESTA Control Panel through 0.9.8-25 and Hestia Control Panel before 1.1.1, Host header
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.8.8. Rated medium severity (CVS
Cross-site Scripting (XSS) - Reflected in GitHub repository hestiacp/hestiacp prior to 1.7.8. Rated medium severity (CVS
Reflected Cross-site Scripting (XSS) Vulnerability in GitHub repository hestiacp/hestiacp prior to 1.5.11. Rated medium
Cross-site Scripting (XSS) - Generic in GitHub repository hestiacp/hestiacp prior to 1.5.9. Rated medium severity (CVSS
EUVD-2026-30933
GHSA-p57r-8pg4-2892
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB