All vulnerabilities

Packagist · Servers and applications

CVE-2026-134790

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

Severity
Medium 5.3
Published
25 Nov 2026
Last changed
25 Nov 2026
Added to UpHeron
25 Nov 2026
Fixed in
5.4.57, 6.4.51, 7.4.24, 8.1.12
Exploit chance
0.5% in the next 30 daysHigher than 37% of CVEs. EPSS by FIRST, 25 Nov 2026
Weakness
Open redirect (CWE-601)
Attack
Over the network · No login needed · Needs someone to view a page or file
CVSS 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
Also known as
GHSA-xf2q-gfhq-mv2q
Sources
CVE Program, Project advisories (GitHub)

Description

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.

From symfony/symfony's security advisory.

Affected software

SoftwareAffected versions
SymfonyServers and applications · github:symfony/symfony
  • Every version before 5.4.57
  • From 6 before 6.4.51
  • From 7 before 7.4.24
  • From 8 before 8.1.12
symfony/security-httpPackagist · osv:Packagist:symfony/security-http
  • Every version before 5.4.57
  • From 6.0.0 before 6.4.51
  • From 7.0.0 before 7.4.24
  • From 8.0.0 before 8.1.12
SymfonyPackagist · osv:Packagist:symfony/symfony
  • Every version before 5.4.57
  • From 6.0.0 before 6.4.51
  • From 7.0.0 before 7.4.24
  • From 8.0.0 before 8.1.12

About Symfony

PHP web application framework for MVC applications

From Wikidata, CC0 1.0.
Developers who used it in the past year
4%Stack Overflow Developer Survey 2025, 2025
Monthly downloads (Packagist)
315,437Packagist, 22 Nov 2026
Total downloads (Packagist)
88,509,675Packagist, 22 Nov 2026
GitHub stars
31,457GitHub, 22 Nov 2026
Forks
9,960GitHub, 22 Nov 2026
Latest release
v8.2.0-BETA2GitHub, 22 Nov 2026
Released
13 Nov 2026GitHub
Developer
SensioLabsWikidata
License
MIT LicenseWikidata
Written in
PHPWikidata
First released
22 Oct 2005Wikidata
First published on GitHub
4 Jan 2010GitHub

Release lines

ReleaseLatestSecurity fixes
8.18.1.11Until 31 Jan 2027
8.08.0.16Ended 31 Jul 2026
7.4 (LTS)LTS7.4.23Until 30 Nov 2029
7.37.3.11Ended 31 Jan 2026
7.27.2.9Ended 31 Jul 2025
7.17.1.11Ended 31 Jan 2025

From endoflife.date.

About symfony/security-http

Monthly downloads (Packagist)
7,735,558Packagist, 24 Nov 2026
Total downloads (Packagist)
205,126,831Packagist, 24 Nov 2026

References