{"id":"CVE-2026-34198","published":"2026-07-07T03:01:19Z","modified":"2026-07-07T13:36:25Z","title":"Coolify: Password reset link poisoning via X-Forwarded-Host header spoofing","vendor":"coollabsio","product":"coolify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00201,"percentile":0.05679,"provenance":"source"},"cwes":[{"id":"CWE-640","name":"Weak Password Recovery Mechanism for Forgotten Password"},{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-cgj8-7m5q-x5gv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/9193","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/commit/98569e4edbfc316877c9e0d27ea89fab3c49e3bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471","tags":["x_refsource_MISC"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"coollabsio","affectedVersions":[{"vendor":"coollabsio","product":"coolify","versions":["< 4.0.0-beta.471"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T13:36:00.420701Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41984","exploited":false,"provenance":"source"}}