Read the docs

Login Redirects Can Still Reach Another Host When the Session Cookie Domain Is Set: Incomplete Fix for CVE-2017-16652

Priority LOW 26CWE-601Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Spoofing
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-601.

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. 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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01026 62nd percentileScored 2026-11-30
Fix Fixed symfony/security-http (Symfony): 5.4.57, 6.4.51, 7.4.24 +1symfony/symfony (Symfony): 5.4.57, 6.4.51, 7.4.24 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
symfonysymfony/security-httpbefore 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.125.4.57, 6.4.51, 7.4.24, 8.1.12Patch availableCNA
symfonysymfony/symfonybefore 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.125.4.57, 6.4.51, 7.4.24, 8.1.12Patch availableCNA
  • symfony/security-http Vendorsymfony 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 Patch available CNA
  • symfony/symfony Vendorsymfony 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 Patch available CNA

Remediation

  • Fix · CNA symfony/security-http (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12
  • Fix · CNA symfony/symfony (Symfony) Fixed in 5.4.57, 6.4.51, 7.4.24, 8.1.12

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    symfony/symfony 5.4.57, 6.4.51 and 2 more versions

    13 records Highest priority Priority MEDIUM 2 MEDIUM, 11 LOW

    Other records, highest priority first

    • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHPPriority MEDIUM 45
    • TI-2026-98148 Nested short ternaries make the Symfony expression parser hangPriority MEDIUM 45
    • TI-2026-98153 HttpClient lets a Proxy header choose the proxy under the CLI SAPIPriority LOW 37

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-134790
  2. 2026-11-25 CISA SSVC decision points changed
  3. 2026-11-26 EPSS moved to the 50th–90th percentile

References

  • TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
  • TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
  • TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
  • TI-2022-08704 Symfony storing cookie headers in HttpCache CVSS 3.1HIGH 8.8
  • TI-2026-98149 Symfony Serializer CSV Header Nesting Without Limit Crashes PHP CVSS 4.0HIGH 8.7
  • TI-2026-98148 Nested short ternaries make the Symfony expression parser hang CVSS 4.0HIGH 8.7
See all 129 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences