Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-134790: vulnerabilidad de severidad media (CVSS 5.3) en Symfony symfony/security-http.
Qué ocurre
Descripción original de la fuente (en inglés): The fix for CVE-2017-16652 restricts the redirects of HttpUtils::createRedirectResponse() to the host of the request. When framework.session.cookie_domain is set, it also allows the subdomains of that domain. To check a target, it read the host of the URL up to the first "/". But browsers also end the host at "\", "?" and "#". So with the cookie domain .example.com, a target like https://evil.test?.example.com passed the check, and the browser went to evil.test. Applications are exposed when framework.session.cookie_domain is set. The default success and failure handlers of form_login redirect to the _target_path or _failure_path of the request. A login link can then send the user to another site right after a successful login, for example to ask for the password again. HttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.
Por qué importa
Severidad media, CVSS 5.3.
Productos y versiones afectados
Symfony symfony/security-http < 5.4.57; Symfony symfony/security-http >= 6.0.0, < 6.4.51; Symfony symfony/security-http >= 7.0.0, < 7.4.24; Symfony symfony/security-http >= 8.0.0, < 8.1.12; Symfony symfony/symfony < 5.4.57; Symfony symfony/symfony >= 6.0.0, < 6.4.51; Symfony symfony/symfony >= 7.0.0, < 7.4.24; Symfony symfony/symfony >= 8.0.0, < 8.1.12
| Producto | Versiones | Corregido en |
|---|---|---|
| Symfony symfony/security-http | < 5.4.57 | — |
| Symfony symfony/security-http | >= 6.0.0, < 6.4.51 | — |
| Symfony symfony/security-http | >= 7.0.0, < 7.4.24 | — |
| Symfony symfony/security-http | >= 8.0.0, < 8.1.12 | — |
| Symfony symfony/symfony | < 5.4.57 | — |
| Symfony symfony/symfony | >= 6.0.0, < 6.4.51 | — |
| Symfony symfony/symfony | >= 7.0.0, < 7.4.24 | — |
| Symfony symfony/symfony | >= 8.0.0, < 8.1.12 | — |
Acción recomendada por la fuente
Consultá las referencias oficiales para conocer la corrección o mitigación.
Fuentes y referencias
- https://symfony.com/cve-2026-134790 — CVE Program
- https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q — CVE Program
- https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844 — CVE Program
Debilidades (CWE): CWE-601
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.