
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-77878 is an OS command injection vulnerability in Control Web Panel (CWP) affecting versions before webpanel_version 1.30. The flaw exists in the loopback API database restore route /v1/restoredatabase/, where the restoreDBBackup() handler passes an attacker-controlled file path from the POST body into a shell command without proper escaping, allowing arbitrary OS commands to execute as root. It was published on November 2, 2026, and assigned a CVSS v3.1 base score of 7.8 (High) and a CVSS v4.0 base score of 8.6 (High) (GitHub Advisory, VulnCheck Advisory).
The root cause is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command), where user-supplied input — specifically a file path in the POST body — is concatenated directly into a shell command within the restoreDBBackup() handler without sanitization or escaping (GitHub Advisory). The vulnerable endpoint is the loopback API route /v1/restoredatabase/, which is accessible locally on the server. An attacker who can reach this loopback API (e.g., through a web shell, SSRF, or local access) can inject shell metacharacters (such as ;, |, or $()) into the file path parameter to execute arbitrary commands as root. A VulnCheck blog post describes a broader pre-auth module dispatch RCE chain involving CWP vulnerabilities that may be used to reach this endpoint (VulnCheck Blog).
Successful exploitation grants an attacker the ability to execute arbitrary OS commands with root privileges on the affected CWP server, resulting in full system compromise. This includes complete confidentiality loss (access to all files, credentials, and hosted data), integrity loss (modification or deletion of any system files), and availability loss (service disruption or destruction). Given that CWP is a web hosting control panel, exploitation could expose all hosted websites, databases, and customer data managed by the server (GitHub Advisory, VulnCheck Advisory).
As of the time of disclosure, no public proof-of-concept exploit code has been confirmed, and there is no evidence of active in-the-wild exploitation (GitHub Advisory). The EPSS score is approximately 0.84% (59th percentile), indicating a moderate near-term exploitation probability. The CVE status is listed as "Deferred" and NVD's SSVC assessment notes exploitation as "none" and the vulnerability as not automatable (Feedly). However, VulnCheck published a blog post describing a pre-auth RCE chain involving CWP, and community coverage (including pwn.watch and chocapikk.com) suggests active researcher interest in chaining CWP vulnerabilities for root RCE (VulnCheck Blog). The vulnerability is not currently listed in the CISA KEV catalog.
/v1/restoredatabase/ endpoint is a loopback API, meaning it is typically bound to localhost. An attacker must first obtain local access — via a web shell from another vulnerability, SSRF, or a pre-auth RCE chain as described by VulnCheck — to reach this endpoint (VulnCheck Blog).http://127.0.0.1:<port>/v1/restoredatabase/ with a JSON or form body containing a file path parameter injected with shell metacharacters, e.g., {"file": "/backups/db.sql; id > /tmp/pwned"}.restoreDBBackup() handler passes the unsanitized file path into a shell command, executing the injected payload as root./v1/restoredatabase/ originating from web server processes or unusual local processes./v1/restoredatabase/ with anomalous or shell-metacharacter-containing file path values; system auth logs showing unexpected root-level command execution./tmp/ or world-writable directories (e.g., web shells, output files from injected commands); new or modified cron jobs, SSH authorized_keys, or sudoers entries created by root./bin/bash, curl, wget, nc, python); unexpected network listeners opened by root processes.Upgrade Control Web Panel to version 1.30 or later, which contains the fix for this vulnerability (GitHub Advisory, CWP Changelog). Until patching is possible, restrict access to the loopback API and the /v1/restoredatabase/ endpoint using firewall rules or network-level controls to ensure only trusted, authorized processes can reach it. Additionally, monitor CWP API logs for anomalous POST requests to the database restore endpoint as a detection measure.
VulnCheck, the assigning CNA, published both an advisory and a blog post detailing a pre-auth module dispatch RCE chain in CWP, drawing significant researcher attention (VulnCheck Blog). Security community coverage appeared on securityonline.info, dailysecurityreview.com, and researcher blogs (chocapikk.com, pwn.watch), with reports framing this and related CWP flaws as chainable for root RCE. The CVE was also discussed on infosec.exchange, indicating moderate community interest in the vulnerability cluster affecting CWP.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."