CVE-2026-134790
MEDIUM 5.3CVSS 4.0Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652
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.
- Published
- 25 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- b5aa5c7f-767d-4597-9c64-3ac08b8711c6
- NVD status
- Awaiting Analysis
- Weakness
- CWE-601
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | Symfony | CVSS 4.0 | MEDIUM 5.3 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://packagist.org | symfony/security-http | < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 |
| CVE List | https://packagist.org | symfony/symfony | < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12 | 5.4.57, 6.4.51, 7.4.24, 8.1.12 |
References
- https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844 · patch
- https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q · vendor-advisory
- https://symfony.com/cve-2026-134790 · vendor-advisory
History
- 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
- 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
- 25 Nov 2026 20:30 UTC · NVD: updated (other details)
- 25 Nov 2026 20:11 UTC · NVD: first stored (published 25 Nov 2026)