CVE-2026-34198: CWE-640: Weak Password Recovery Mechanism for Forgotten Password in coollabsio coolify
Coolify versions prior to 4.0.0-beta.471 contain a vulnerability in the password recovery mechanism. The TrustProxies middleware trusts all proxies, allowing spoofing of the X-Forwarded-Host header. The TrustHosts middleware fails to validate hosts due to a caching issue. As a result, password reset emails can include reset links pointing to attacker-controlled domains, enabling token theft and account takeover. This vulnerability has a medium severity with a CVSS score of 5.3. The issue is fixed starting from version 4.0.0-beta.471.
AI Analysis
Technical Summary
Coolify, an open-source server and application management tool, had a weakness in its password reset functionality prior to version 4.0.0-beta.471. The TrustProxies middleware was configured to trust all proxies, accepting the X-Forwarded-Host header from any source, which is spoofable. Additionally, the TrustHosts middleware intended to prevent host header attacks was ineffective due to a circular caching dependency that prevented host validation. Consequently, when a password reset was requested, the reset URL generated could be crafted to point to an attacker-controlled domain. An unauthenticated attacker could exploit this to send password reset emails with malicious links, potentially leading to token theft and account takeover. The vulnerability is addressed in version 4.0.0-beta.471.
Potential Impact
An unauthenticated attacker can exploit the vulnerability to send password reset emails containing links that point to attacker-controlled domains. This enables the attacker to steal password reset tokens, which can lead to account takeover. The vulnerability does not impact confidentiality directly but compromises integrity by allowing unauthorized account access. Availability is not affected.
Mitigation Recommendations
The vulnerability is fixed in Coolify version 4.0.0-beta.471. Users should upgrade to this version or later to remediate the issue. No official patch or workaround is indicated beyond upgrading. Patch status is not explicitly confirmed beyond the fixed version; users should verify with vendor advisories for the latest remediation guidance.
CVE-2026-34198: CWE-640: Weak Password Recovery Mechanism for Forgotten Password in coollabsio coolify
Description
Coolify versions prior to 4.0.0-beta.471 contain a vulnerability in the password recovery mechanism. The TrustProxies middleware trusts all proxies, allowing spoofing of the X-Forwarded-Host header. The TrustHosts middleware fails to validate hosts due to a caching issue. As a result, password reset emails can include reset links pointing to attacker-controlled domains, enabling token theft and account takeover. This vulnerability has a medium severity with a CVSS score of 5.3. The issue is fixed starting from 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 and application management tool, had a weakness in its password reset functionality prior to version 4.0.0-beta.471. The TrustProxies middleware was configured to trust all proxies, accepting the X-Forwarded-Host header from any source, which is spoofable. Additionally, the TrustHosts middleware intended to prevent host header attacks was ineffective due to a circular caching dependency that prevented host validation. Consequently, when a password reset was requested, the reset URL generated could be crafted to point to an attacker-controlled domain. An unauthenticated attacker could exploit this to send password reset emails with malicious links, potentially leading to token theft and account takeover. The vulnerability is addressed in version 4.0.0-beta.471.
Potential Impact
An unauthenticated attacker can exploit the vulnerability to send password reset emails containing links that point to attacker-controlled domains. This enables the attacker to steal password reset tokens, which can lead to account takeover. The vulnerability does not impact confidentiality directly but compromises integrity by allowing unauthorized account access. Availability is not affected.
Mitigation Recommendations
The vulnerability is fixed in Coolify version 4.0.0-beta.471. Users should upgrade to this version or later to remediate the issue. No official patch or workaround is indicated beyond upgrading. Patch status is not explicitly confirmed beyond the fixed version; users should verify with vendor advisories for the latest remediation guidance.
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/07/2026, 03:52:03 UTC
Last updated: 07/07/2026, 03:52:03 UTC
Views: 3
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.