Open redirect in Symfony - CVE-2026-135802

 

Open redirect in Symfony - CVE-2026-135802

Published: December 1, 2026


Vulnerability identifier: #VU171475
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-135802
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to make generated links, form actions, redirects, and asset URLs point to an attacker-controlled host, potentially exposing submitted credentials or causing the victim's browser to load untrusted scripts.

The vulnerability exists due to improper validation of the request URI in Symfony HttpFoundation's Request::getBaseUrl() when deriving the base URL under certain front-controller configurations. A remote attacker can lure a victim into following a crafted link to the legitimate application to make the browser interpret a client-controlled part of the resulting URLs as the destination host.

Affected configurations include those in which the front controller is in a subdirectory and receives request URIs that do not start with that directory, as well as those in which the web server sets SCRIPT_NAME to the request path.


Affected software

Symfony

How to mitigate CVE-2026-135802

Install security update from vendor's website.

Symfony - update to 5.4.56

External References

Related Security Bulletins