Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2019-9859
vestacp vesta control panel

Score8.8 High
CVSS 3.1
Exploit probability (EPSS)3.0%
within the next 30 days
CategoryCode execution & injection
Published10 March 2020
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: OS command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-78 – OS command injection

Affected products

VendorProductVersions
vestacpvesta control panel>=0.9.7-0 <=0.9.8-23

Sources

Latest in the same category

  • CVE-2026-140255 Medium 5.5
    A vulnerability has been found in code-projects POS Pharmacy System 1.0. The impacted element is an unknown function of the file login.php. The manipulation of the argument username/password leads to sql injection. It…
    Code execution & injection · 1 December 2026
  • CVE-2026-140254 Low 2.1
    A flaw has been found in itsourcecode Stock Management System 1.0. The affected element is an unknown function of the file php_action/editProduct.php. Executing a manipulation of the argument productId can lead to sql…
    Code execution & injection · 1 December 2026
  • CVE-2026-140133 Medium 5.5
    A vulnerability was determined in mcp-use up to 1.7.1. Affected by this vulnerability is the function _build_namespace of the file libraries/python/mcp_use/client/code_executor.py of the component CodeExecutor.…
    Code execution & injection · 1 December 2026
  • CVE-2026-125615 Critical 9.3
    Movable Type contains an OS command injection vulnerability. Arbitrary OS commands may be executed by sending a specially crafted request to mt-wizard.cgi.
    Code execution & injection · 1 December 2026
  • CVE-2026-140128 Medium 5.5
    A flaw has been found in Baison E3 Omni-Channel Retail Platform up to 2.5.1. Affected is an unknown function of the component KHATTACH Controller. Executing a manipulation of the argument retObjs can lead to sql…
    Code execution & injection · 1 December 2026
  • CVE-2026-140057 Low 2
    A vulnerability was detected in yangzongzhuan RuoYi up to 4.8.3. The impacted element is an unknown function of the file ruoyi-admin/src/main/resources/templates/system/menu/menu.html of the component Menu Management.…
    Code execution & injection · 1 December 2026