# CVE-2019-9859

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2020-03-10 · Modified: 2024-08-04
- Record: https://cvemate.com/vulnerability/CVE-2019-9859 · JSON: https://cvemate.com/vulnerability/CVE-2019-9859/json

## Description

```text
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.
```

## Signals

- CVSS: 9 high (v2.0, NVD) AV:N/AC:L/Au:S/C:C/I:C/A:C
- EPSS: 3%, percentile 87.795%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- vestacp vesta\_control\_panel: ≥ 0.9.7-0, ≤ 0.9.8-23

## References

- <https://ssd-disclosure.com/?p=3926>

---

Data as of 2026-12-05T12:33:43.451Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
