{"id":"CVE-2026-134790","aliases":["CVE-2026-134790"],"related":[],"kind":"vulnerability","state":"published","title":"Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T10:00:21.839Z","modified":"2026-11-30T15:29:56.663Z","severity":{"scorer":"Symfony","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"Symfony","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"5.4.57","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.4.51","status":"affected"},{"type":"semver","introduced":"7.0.0","fixed":"7.4.24","status":"affected"},{"type":"semver","introduced":"8.0.0","fixed":"8.1.12","status":"affected"}],"vendor":"Symfony","product":"symfony/security-http","package":"symfony/security-http","repo":"https://github.com/symfony/symfony","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"5.4.57","status":"affected"},{"type":"semver","introduced":"6.0.0","fixed":"6.4.51","status":"affected"},{"type":"semver","introduced":"7.0.0","fixed":"7.4.24","status":"affected"},{"type":"semver","introduced":"8.0.0","fixed":"8.1.12","status":"affected"}],"vendor":"Symfony","product":"symfony/symfony","package":"symfony/symfony","repo":"https://github.com/symfony/symfony","source":"cvelist"}],"references":[{"url":"https://symfony.com/cve-2026-134790","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Amimul Ihsan","Nicolas Grekas"],"assigner":"Symfony","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-25T19:51:03.508Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-134790","url":"https://www.cve.org/CVERecord?id=CVE-2026-134790","licence":"CVE Terms of Use","modified":"2026-11-25T19:59:50.833Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-134790","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134790","licence":"Public domain","modified":"2026-11-30T15:29:56.663Z"}],"updatedAt":"2026-11-30T15:32:28.775Z","epss":{"score":0.01026,"percentile":0.64563,"date":"2026-12-01T12:00:22.000Z"}}