Technical impact
Control Web Panel (CWP) versions prior to 1.29 contain an OS command injection flaw in the loopback API database restore route /v1/restoredatabase/. The restoreDBBackup() handler concatenates an attacker‑supplied file path from the POST body into a shell command without proper escaping. Because the command is executed with the web server’s root privileges, an attacker who can reach the /v1/restoredatabase/ endpoint can inject arbitrary OS commands that execute as root. This could allow exploitation to delete or modify files, install backdoors, or otherwise compromise the confidentiality, integrity, and availability of the host.
Affected Systems
Control Web Panel (CWP) webpanel software before version 1.29 is affected, impacting all installations running the webpanel module. Systems that have not applied the 1.29 upgrade remain vulnerable.
Risk and Exploitability
The CVSS score of 8.5 marks it as high severity. Because the exploit is performed remotely via a REST API, it is reachable from the Internet if the API endpoint is exposed. The EPSS score <1% indicates a very low probability of exploitation, and the absence of a CISA KEV listing suggests no known active exploitation. However, the high severity warrants proactive mitigation. The CVE description does not mention authentication, so it is inferred that an attacker who can reach the API does not need credentials; this inference is based solely on the lack of explicit authentication requirements. Consequently, without a patch, such an attacker can achieve full system compromise by executing shell commands as root.