CVE-2026-34198
published medium CVSS 3.1 · 5.3Coolify: Password reset link poisoning via X-Forwarded-Host header spoofing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| coollabsio | — | coolify< 4.0.0-beta.471 | Affected | Not stated | GitHub_M |
Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, the TrustProxies middleware trusts all proxies ($proxies = '*'), accepting X-Forwarded-Host from any source. The TrustHosts middleware, intended to prevent host header attacks, has a circular caching dependency that prevents it from ever validating hosts. When a password reset is requested, the ResetPassword notification generates the reset URL using url(route(..., false)), which derives the host from the (spoofable) request. An unauthenticated attacker can trigger a password reset email containing a link pointing to an attacker-controlled domain, enabling token theft and account takeover. This issue is fixed in version 4.0.0-beta.471.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.471 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-640 CWE-640: Weak Password Recovery Mechanism for Forgotten Password
- CWE-346 CWE-346: Origin Validation Error
References
4Provider assertions
2GitHub_M · cna
Coolify: Password reset link poisoning via X-Forwarded-Host header spoofing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca17e5a4a685b3d5affd77fb77fa2459e9b8782a96663665d83bc7bbbfb17714
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record