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

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T03:01:19.285Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-346, CWE-640
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.471

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-cgj8-7m5q-x5gv> (exploit)
- <https://github.com/coollabsio/coolify/pull/9193>
- <https://github.com/coollabsio/coolify/commit/98569e4edbfc316877c9e0d27ea89fab3c49e3bd>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471>

## Sources

- CVE List: [CVE-2026-34198](https://www.cve.org/CVERecord?id=CVE-2026-34198), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-34198](https://nvd.nist.gov/vuln/detail/CVE-2026-34198), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-34198 · Whole record: https://cve.day/CVE-2026-34198.json · Rebuilt by cve.day 2026-11-25T22:59:27.278Z
