CVE-2026-34198
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-34198",
"sourceIdentifier": "[email protected]",
"published": "2026-07-07T04:17:50.847",
"lastModified": "2026-10-25T20:10:00.147",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Coolify es una herramienta de código abierto y autoalojable para gestionar servidores, aplicaciones y bases de datos. Antes de la versión 4.0.0-beta.471, el middleware TrustProxies confía en todos los proxies ($proxies = ’*’), aceptando X-Forwarded-Host de cualquier fuente. El middleware TrustHosts, destinado a prevenir ataques de encabezado de host, tiene una dependencia de caché circular que le impide validar hosts. Cuando se solicita un restablecimiento de contraseña, la notificación ResetPassword genera la URL de restablecimiento utilizando url(route(..., false)), que deriva el host de la solicitud (suplantable). Un atacante no autenticado puede activar un correo electrónico de restablecimiento de contraseña que contiene un enlace que apunta a un dominio controlado por el atacante, lo que permite el robo de tokens y la toma de control de la cuenta. Este problema se corrige en la versión 4.0.0-beta.471."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "coollabsio",
"product": "coolify",
"versions": [
{
"version": "< 4.0.0-beta.471",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "HIGH",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 1.6,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-07T13:36:00.420701Z",
"id": "CVE-2026-34198",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-346"
},
{
"lang": "en",
"value": "CWE-640"
}
]
}
],
"references": [
{
"url": "https://github.com/coollabsio/coolify/commit/98569e4edbfc316877c9e0d27ea89fab3c49e3bd",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/pull/9193",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-cgj8-7m5q-x5gv",
"source": "[email protected]"
},
{
"url": "https://github.com/coollabsio/coolify/security/advisories/GHSA-cgj8-7m5q-x5gv",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
]
}