CVE-2026-34198: CWE-640: Weak Password Recovery Mechanism for Forgotten Password in coollabsio coolify
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.
AI Analysis
Technical Summary
Coolify, an open-source server management tool, has a vulnerability affecting versions before 4.0.0-beta.471 where the TrustProxies middleware trusts all proxies, accepting the X-Forwarded-Host header from any source. The TrustHosts middleware intended to prevent host header attacks is ineffective due to a circular caching dependency. When a password reset is requested, the reset URL is generated using a host derived from the spoofable request header. This allows an unauthenticated attacker to trigger password reset emails with links pointing to attacker-controlled domains, enabling token theft and account takeover. The vulnerability is addressed in version 4.0.0-beta.471.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to send password reset emails containing links to attacker-controlled domains. This can lead to theft of password reset tokens and subsequent account takeover. The vulnerability does not impact confidentiality directly but compromises integrity by enabling unauthorized account access. Availability is not affected.
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.471 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Until upgraded, be cautious of password reset emails and verify reset URLs carefully.
CVE-2026-34198: CWE-640: Weak Password Recovery Mechanism for Forgotten Password in coollabsio coolify
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.
CVSS v3.1
Score 5.3medium
Affected software
pkg:github/coollabsio/coolifyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Coolify, an open-source server management tool, has a vulnerability affecting versions before 4.0.0-beta.471 where the TrustProxies middleware trusts all proxies, accepting the X-Forwarded-Host header from any source. The TrustHosts middleware intended to prevent host header attacks is ineffective due to a circular caching dependency. When a password reset is requested, the reset URL is generated using a host derived from the spoofable request header. This allows an unauthenticated attacker to trigger password reset emails with links pointing to attacker-controlled domains, enabling token theft and account takeover. The vulnerability is addressed in version 4.0.0-beta.471.
Potential Impact
An unauthenticated attacker can exploit this vulnerability to send password reset emails containing links to attacker-controlled domains. This can lead to theft of password reset tokens and subsequent account takeover. The vulnerability does not impact confidentiality directly but compromises integrity by enabling unauthorized account access. Availability is not affected.
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.471 or later, where this vulnerability is fixed. There is no official patch or temporary fix other than upgrading. Until upgraded, be cautious of password reset emails and verify reset URLs carefully.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-26T15:57:52.323Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4c745c27e9c79719d4775b
Added to database: 07/07/2026, 03:37:00 UTC
Last enriched: 07/14/2026, 09:03:57 UTC
Last updated: 08/20/2026, 22:52:12 UTC
Views: 91
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.