CVE-2026-124020
Control Web Panel (CWP) before webpanel_version 1.30.6 contains a host header injection vulnerability that allows unauthenticated attackers to manipulate the p…
Impact
Control Web Panel (CWP) before webpanel_version 1.30.6 contains a host header injection vulnerability that allows unauthenticated attackers to manipulate the password-recovery reset URL by injecting the HTTP Host header into the /v1/lostpass/ route's token generation process. Attackers can lure an automated mail-security scanner into visiting the poisoned reset link to exfiltrate the live recovery token, replay it at /login/index.php?acc=newpass to set a new password, and subsequently abuse the File Manager and Crontab modules to achieve command execution as the targeted hosting account.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. 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.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://control-webpanel.com/changelog
- https://www.vulncheck.com/advisories/control-web-panel-host-header-password-reset-poisoning
- https://github.com/advisories/GHSA-w6f7-3p76-2m93
- https://nvd.nist.gov/vuln/detail/CVE-2026-124020
- https://www.vulncheck.com/blog/control-web-panel-recovery-code-rce