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

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.