CVE-2026-77878
Control Web Panel (CWP) before webpanel_version 1.29 contains an OS command injection vulnerability in the loopback API database restore route /v1/restoredatab…
Impact
Control Web Panel (CWP) before webpanel_version 1.29 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.
An attacker can exploit this with local access to the system, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, high risk of data or systems being changed, high risk of outages.
Affected products · Control Web Panel
| Product | Affected versions |
|---|---|
| Control Web Panel | before 1.30 before 1.29 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.vulncheck.com/blog/control-web-panel-pre-auth-module-dispatch-rce
- https://control-webpanel.com/changelog
- https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-restoredatabase-api
- https://github.com/advisories/GHSA-xxpw-8v5c-fcm7
- https://nvd.nist.gov/vuln/detail/CVE-2026-77878