{"id":"CVE-2026-134790","aliases":["GHSA-xf2q-gfhq-mv2q"],"title":"Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652","originalDescription":"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.\n\nApplications 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.\n\nHttpUtils now ends the host of a target where browsers do, before checking it against the allowed domains.","severity":{"cvss":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.01026,"percentile":0.62763},"exploitDb":null},"affected":[{"ecosystem":"unknown","name":"symfony/security-http","range":">=0, <5.4.57","fixed":"5.4.57"},{"ecosystem":"unknown","name":"symfony/security-http","range":">=6.0.0, <6.4.51","fixed":"6.4.51"},{"ecosystem":"unknown","name":"symfony/security-http","range":">=7.0.0, <7.4.24","fixed":"7.4.24"},{"ecosystem":"unknown","name":"symfony/security-http","range":">=8.0.0, <8.1.12","fixed":"8.1.12"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=0, <5.4.57","fixed":"5.4.57"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=6.0.0, <6.4.51","fixed":"6.4.51"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=7.0.0, <7.4.24","fixed":"7.4.24"},{"ecosystem":"unknown","name":"symfony/symfony","range":">=8.0.0, <8.1.12","fixed":"8.1.12"}],"references":[{"url":"https://symfony.com/cve-2026-134790","type":"vendor-advisory"},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q","type":"vendor-advisory"},{"url":"https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844","type":"patch"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134790.json","type":"advisory"},{"url":"https://github.com/symfony/symfony","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134790","type":"advisory"},{"url":"https://packagist.org","type":"web"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.575Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134790","license":"NVD terms of use","firstSeenAt":"2026-11-25T10:24:15.236Z"},{"name":"osv","at":"2026-11-26T21:12:15.276Z","url":"https://osv.dev/vulnerability/CVE-2026-134790","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T12:03:51.391Z"},{"name":"cvelistV5","at":"2026-11-29T00:19:53.257Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134790","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T10:21:49.942Z"}],"firstSeenAt":"2026-11-25T10:21:49.942Z","publishedAt":"2026-11-25T10:00:21.839Z","modifiedAt":"2026-11-25T21:46:02.234Z"}