CVE-2026-77878
8.4 HIGHPublished 2026-11-02 · Updated 2026-11-02
AI risk analysis
- Summary
- Control Web Panel (CWP) before version 1.30 contains an OS command injection flaw in the /v1/restoredatabase/ endpoint, where an attacker-supplied file path is passed unsanitized to a shell command during database restoration, enabling arbitrary command execution as root.
- Exploitability
- Low-privilege local access to the loopback API route is sufficient; no authentication or user interaction required.
- Blast radius
- Successful exploitation grants full root-level compromise of the host, allowing complete data exfiltration, system modification, or lateral movement.
- Detection
- Look for POST requests to /v1/restoredatabase/ with suspicious file paths containing shell metacharacters (e.g., semicolons, backticks, $()) in CWP access logs; additionally, monitor for unexpected root-level process spawns or file writes triggered by web server processes.
- Prioritized remediation
- Upgrade to CWP webpanel_version 1.30 or later, which patches the command injection in the restoreDBBackup() handler.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
All references
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-112351
- CRITICALCVE-2026-77876
- HIGHCVE-2026-104080
- HIGHCVE-2026-106079
- HIGHCVE-2026-106931
- HIGHCVE-2026-110646PoC
- HIGHCVE-2026-77880
- CRITICALCVE-2026-90865
Related by shared AI tags and CWE weakness class. Browse the full archive.