CVE-2026-34198: Coolify: Password reset link poisoning via X-Forwarded-Host header spoofing

Published Jul 7, 2026
·
Updated

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.

Affected Software

1 affected component
Coolify<4.0.0-beta.471

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Coolify to a version that resolves this vulnerability.

    Fixed in 4.0.0-beta.471
  2. Configuration

    Upgrade to 4.0.0-beta.471, which fixes the TrustProxies middleware behavior that previously trusted all proxies ($proxies = '*') and allowed spoofed X-Forwarded-Host to be accepted from any source.

    Coolify (TrustProxies middleware) $proxies = *
  3. Configuration

    Upgrade to 4.0.0-beta.471, which fixes ResetPassword reset URL generation (previously derived the host from the spoofable request via url(route(..., false))) to prevent links to attacker-controlled domains.

    Coolify (ResetPassword notification) reset URL host derivation (url(route(..., false))) = uses spoofable request host

Event History

Jul 7, 2026
CVE Published
via MITRE·03:01 AM
Data Sourced
via MITRE·03:01 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-34198?

CVE-2026-34198 has a medium severity rating of 5.3.

2

How do I fix CVE-2026-34198?

To mitigate CVE-2026-34198, upgrade Coolify to version 4.0.0-beta.471 or later.

3

What type of vulnerability is CVE-2026-34198?

CVE-2026-34198 is a password reset link poisoning vulnerability that occurs via X-Forwarded-Host header spoofing.

4

What software does CVE-2026-34198 affect?

CVE-2026-34198 affects the open-source tool Coolify prior to version 4.0.0-beta.471.

5

How does CVE-2026-34198 impact security?

CVE-2026-34198 can potentially lead to unauthorized access due to inadequate validation of host headers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203