CVE-2026-42606
AzuraCast has Password Reset Poisoning via Untrusted X-Forwarded-Host Header that Leads to Account Takeover and 2FA Bypass
Impact
AzuraCast is a self-hosted, all-in-one web radio management suite. Prior to version 0.23.6, the ApplyXForwarded middleware unconditionally trusts the client-supplied X-Forwarded-Host HTTP header with no trusted proxy allowlist. An unauthenticated attacker can poison the password reset URL sent to any user by injecting this header when triggering the forgot-password flow. When the victim clicks the poisoned link, their reset token is exfiltrated to the attacker's server. The attacker then uses the token on the real instance to reset the victim's password and destroy their 2FA configuration, achieving full account takeover. This issue has been patched in version 0.23.6.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | azuracast/azuracast | <= 0.23.5 | 0.23.6 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Azuracast | Azuracast | before 0.23.6 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-gv7r-3mr9-h5x8
- https://github.com/AzuraCast/AzuraCast/security/advisories/GHSA-gv7r-3mr9-h5x8
- https://github.com/AzuraCast/AzuraCast/commit/7c622a18b451533de317e53862b1f84acf4efd85
- https://nvd.nist.gov/vuln/detail/CVE-2026-42606
- https://github.com/AzuraCast/AzuraCast/releases/tag/0.23.6