CVE-2026-134790: Symfony Symfony/security-HTTP
Medium severity, CVSS 5.3. EPSS: 1.0% probability of exploitation activity in the next 30 days.
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
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Symfony Symfony/security-HTTP, before 5.4.57: fixed in 5.4.57
- Symfony Symfony/security-HTTP, from 6.0.0, before 6.4.51: fixed in 6.4.51
- Symfony Symfony/security-HTTP, from 7.0.0, before 7.4.24: fixed in 7.4.24
- Symfony Symfony/security-HTTP, from 8.0.0, before 8.1.12: fixed in 8.1.12
- Symfony Symfony/symfony, before 5.4.57: fixed in 5.4.57
- Symfony Symfony/symfony, from 6.0.0, before 6.4.51: fixed in 6.4.51
- Symfony Symfony/symfony, from 7.0.0, before 7.4.24: fixed in 7.4.24
- Symfony Symfony/symfony, from 8.0.0, before 8.1.12: fixed in 8.1.12
Affected products
- Symfony Symfony/security-HTTP: before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
- Symfony Symfony/symfony: before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
Published 2026-11-25. Last modified 2026-11-25.