Vesta Control Panel (VestaCP) 0.9.7 through 0.9.8-23 is vulnerable to an authenticated…
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
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-78.
Summary
Vesta Control Panel (VestaCP) 0.9.7 through 0.9.8-23 is vulnerable to an authenticated command execution that can result in remote root access on the server. The platform works with PHP as the frontend language and uses shell scripts to execute system actions. PHP executes shell script through the dangerous command exec. This function can be dangerous if arguments passed to it are not filtered. Every user input in VestaCP that is used as an argument is filtered with the escapeshellarg function. This function comes from the PHP library directly and its description is as follows: "escapeshellarg() adds single quotes around a string and quotes/escapes any existing single quotes allowing you to pass a string directly to a shell function and having it be treated as a single safe argument." It means that if you give Username, it will have 'Username' as a replacement. This works well and protects users from exploiting this potentially dangerous exec function. Unfortunately, VestaCP uses this escapeshellarg function incorrectly in several places.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2019-9859
- 2026-10-03 Alias added: GHSA-4fq8-68gc-cjqm
References
Exploit 1
More VestaCP Vesta Control Panel vulnerabilities
- TI-2020-08697 Vesta Control Panel (VestaCP) through 0.9.8-26 allows Command Injection via the… CVSS 3.1HIGH 8.8
- TI-2021-09533 web/upload/UploadHandler.php in Vesta Control Panel (aka VestaCP) through 0.9.8-27 and… CVSS 3.1HIGH 8.8
- TI-2020-08679 A remote command execution in Vesta Control Panel through 0.9.8-26 allows any… CVSS 3.1HIGH 8.8
- TI-2021-19526 vesta 0.9.8-24 is affected by a file inclusion vulnerability in file web/add/user/index.php. CVSS 3.1CRITICAL 9.8
- TI-2018-16103 Vesta CP version Prior to commit f6f6f9cfbbf2979e301956d1c6ab5c44386822c0 -- any release… CVSS 3.0CRITICAL 9.8
- TI-2021-21532 myVesta Control Panel before 0.9.8-26-43 and Vesta Control Panel before 0.9.8-26 are… CVSS 3.1HIGH 7.2
Sources
- CVE-2019-9859 · CVE Program
- CVE-2019-9859 · NVD
- FIRST EPSS
- GHSA-4fq8-68gc-cjqm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences