CVE-2026-134790Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set:…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-134790 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-134790 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-134790 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-134790 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-134790 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-134790 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-134790 |
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/security-http: affected: before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12 - symfony/symfony: affected: before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12
Vendor advisories:
- https://symfony.com/cve-2026-134790 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q (vendor-advisory)
- https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844 (patch)
References
- https://symfony.com/cve-2026-134790
- https://github.com/symfony/symfony/security/advisories/GHSA-xf2q-gfhq-mv2q
- https://github.com/symfony/symfony/commit/b311687afd165a4f62dcd2dff4632be7eb1db844
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.