# CVE-2026-77878: Control Web Panel OS command injection in database restore API

Source: https://junglewise.ai/threats/cve-2026-77878-control-web-panel-cwp-before-webpanel-version-1-30-contains-an-os  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-02. Updated: 2026-11-02  
License: CC BY 4.0 with a link back

CVE-2026-77878 · Severity: high · CVSS 8.4 · Published 2026-11-02

Control Web Panel (CWP) is a Linux hosting control panel used to manage web servers, databases, and accounts. A vulnerability in the database restore API allows an attacker to inject arbitrary operating system commands that execute with root privileges, potentially leading to complete server compromise.

Technologies: [Control Web Panel](https://junglewise.ai/threats/technologies/control-web-panel-control-web-panel). Vendors: [Control Web Panel](https://junglewise.ai/threats/vendors/control-web-panel).

## Quick answers

**Is CVE-2026-77878 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-77878 being exploited in the wild.

**How severe is CVE-2026-77878?** High severity, with a CVSS score of 8.4, published 2 November 2026.

**Which products and versions are affected?** Control Web Panel before 1.30.

**Is there a fix for CVE-2026-77878?** Yes: fixed in 1.30. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-77878 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-77878?** Check whether you run Control Web Panel at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 1.30

## Technical details

The vulnerability exists in the /v1/restoredatabase/ API endpoint's restoreDBBackup() handler, which passes an attacker-controlled file path from the POST request body directly into a shell command without proper escaping. An attacker with network access to the loopback API can inject OS commands that execute as root. The issue is remedied in version 1.30.

## Affected products

- Control Web Panel Control Web Panel before 1.30

## Timeline

- 2026-11-02: disclosed
- 2026-10-31: patched: Version 1.30 released

## References

- [https://control-webpanel.com/changelog](https://control-webpanel.com/changelog)
- [https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-restoredatabase-api](https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-restoredatabase-api)

## Related threats

- [Control Web Panel SQL injection in unauthenticated API route](https://junglewise.ai/threats/cve-2026-77881-control-web-panel-cwp-before-webpanel-version-1-30-contains-a)
- [Control Web Panel OS command injection in password change API](https://junglewise.ai/threats/cve-2026-77880-control-web-panel-cwp-before-webpanel-version-1-16-contains-an-os)
- [Control Web Panel missing authentication in loopback API](https://junglewise.ai/threats/cve-2026-77877-control-web-panel-cwp-before-webpanel-version-1-30-contains-a)
- [Control Web Panel OS command injection in protected_directory](https://junglewise.ai/threats/cve-2026-77876-control-web-panel-cwp-before-webpanel-version-1-16-contains-an-os)
- [Control Web Panel OS command injection in loopback API](https://junglewise.ai/threats/cve-2026-104080-control-web-panel-cwp-before-webpanel-version-1-30-contains-an)
