Skip to main content
← Vulnerabilities

Control Web Panel (CWP) < 1.30 OS Command Injection via restoredatabase API

Affects Control Web Panel (CWP) before 1.30 through the loopback API database restore route. Fixed in 1.30.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

8.6HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.30
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Control Web Panel (CWP) versions before 1.30 Attacker must be able to reach the loopback API database restore route /v1/restoredatabase/

Published
Last modified
Published
Not listed in CISA KEV
15/100 · provisional
Specific setups only
Fix
Fixed in 1.30
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

Control Web Panel (CWP), a web hosting control panel, is affected by this vulnerability. An attacker who can reach its database restore API can inject operating system commands that run with root privileges, giving them full control of the server.

Read the original description

Control Web Panel (CWP) before webpanel_version 1.30 contains an OS command injection vulnerability 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. An attacker able to reach the route can inject arbitrary OS commands that execute as root.

What to do

  • Check whether your setup matches what the bug needs.

    Control Web Panel (CWP) versions before 1.30 Attacker must be able to reach the loopback API database restore route /v1/restoredatabase/
  • Upgrade to a fixed version: 1.30.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • Control Web Panel Control Web Panel

    fixed in 1.30

Evidence 3

  1. Patch
  2. Exploit
  3. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-77878

What does this mean?

The restore request does not properly handle a crafted file path, so an attacker who can reach the route can inject operating system commands. Those commands run as root.Source: vulncheck.com

Am I affected, and how do I check?

Control Web Panel (CWP) versions before webpanel_version 1.30 are affected. The exposure depends on the attacker being able to reach the loopback API database restore route, /v1/restoredatabase/. To check a installation, look at the webpanel_version value reported by the panel.Source: vulncheck.com

What should I do about it?

Upgrade Control Web Panel to version 1.30 or later, which contains the fix. The facts provided do not list a workaround.Source: vulncheck.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data