---
id: "CVE-2026-124020"
page: "https://infrastack.ai/live/CVE-2026-124020"
kind: "vulnerability"
aliases: ["CVE-2026-124020"]
title: "Control Web Panel: password reset host header flaw enables account takeover"
severity: "critical"
cvss: 9.2
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["control-web-panel", "hosting", "linux", "other", "self-hosted"]
not_affected_if: ["panel-not-internet-exposed", "webpanel-1.30.6-or-later"]
published_at: "2026-11-13T22:17:22+00:00"
first_seen_at: "2026-11-13T22:33:34+00:00"
updated_at: "2026-11-13T22:34:17+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124020", "first_seen_at": "2026-11-13T22:33:34+00:00"}]
exploit_sources: []
---

# Control Web Panel: password reset host header flaw enables account takeover

Link for people: https://infrastack.ai/live/CVE-2026-124020 (this .md is for agents)

Control Web Panel (CWP) before webpanel_version 1.30.6 builds password-reset links from the HTTP Host header, so an attacker can make a reset link point to their own server. A mail scanner that opens the poisoned link leaks the live recovery token, which lets the attacker set a new password and then run commands as the hosting account through the File Manager and Crontab modules.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed CWP version in the admin panel or the webpanel_version value; versions below `1.30.6` are in the stated range
- Confirm whether the panel is reachable from the internet, since the /v1/lostpass/ route is unauthenticated
- Review web server logs for requests to /v1/lostpass/ with unusual Host headers

## Fix

- Control Web Panel: upgrade to `webpanel_version` `1.30.6` or later

## Timeline

- 2026-11-13T22:33:34+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124020

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/control-web-panel-host-header-password-reset-poisoning

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
