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.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://control-webpanel.com/changelog release-notes, patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.6 · control web panelNVD modified 2026-11-02 15:50
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 2
- https://control-webpanel.com/changelog release-notes, patch
- https://www.vulncheck.com/advisories/control-web-panel-cwp-os-command-injection-via-restoredatabase-api third-party-advisory