CVE-2026-77878: Root OS Command Injection in Control Web Panel Database Restore API
- Vendor
- Control Web Panel
CVE-2026-77878 is an operating-system command injection vulnerability in Control Web Panel's privileged loopback database-restore API. The BackupHandler::restoreDBBackup() handler concatenates an attacker-controlled POST file parameter into a shell_exec() command without adequate quoting or escaping. Shell metacharacters can therefore introduce arbitrary commands executed as root. Exploitation does not require malicious SQL in a backup. Versions before webpanel_version 1.29 are vulnerable; published affected-version ranges differ over whether 1.29 is included, while 1.30 has been verified as patched.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of the entire CWP host. An unprivileged hosting-account process able to reach the API can escalate to root, exposing all hosted tenants and permitting arbitrary access to server data, modification of system configuration, and service disruption. Remote unauthenticated compromise is possible when this vulnerability is combined with separate user-panel initial-access vulnerabilities; it is not an inherent property of the loopback command injection alone.
Mitigation
If you can’t patch tonight, do this now.
Until upgrading, restrict access to the database-restore API to trusted, necessary callers, or disable the restore route if operationally feasible. Keep the user API restricted to loopback; this alone does not prevent exploitation by local hosting-account processes. Restrict public access to the user panel on port 2083 and administrative panels on ports 2031 and 2087 through network allowlists to reduce exposure to separate remote-entry vulnerabilities. No official interim workaround is documented.
Remediation
Patch, then assume compromise.
Upgrade Control Web Panel to webpanel_version 1.30 or later. Although implementation analysis identifies 1.29 as containing the fix, published affected-version boundaries disagree, making 1.30 the safer minimum baseline. The patched restore implementation applies escapeshellarg() to the backup path, resolves and confines backup paths to the requesting account's authorized backup directory, scopes restore operations to that account, and enforces access-token validation before invoking the handler.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-77878 exploited in the wild?
- As of Nov 9, 2026, Mallory has no reports of CVE-2026-77878 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77878?
- As of Nov 9, 2026, Mallory has found no public exploit for CVE-2026-77878.
- Is there a patch for CVE-2026-77878?
- Upgrade Control Web Panel to webpanel_version 1.30 or later. Although implementation analysis identifies 1.29 as containing the fix, published affected-version boundaries disagree, making 1.30 the safer minimum baseline.
- What products are affected by CVE-2026-77878?
- Control Web Panel Webpanel.
- How severe is CVE-2026-77878?
- CVE-2026-77878 has a CVSS v4 score of 8.5 (High) and an EPSS score of 0.85% (59th percentile) as of Nov 9, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.