CVE-2026-133745symfony/framework-bundle Open Redirect
NVD
Vulnerability Summary
The router redirects a request to the same URL with or without its trailing slash, or with the scheme that a route requires. To do so, the matcher returns RedirectController::urlRedirectAction() with the path info of the request as path. Since Symfony 5.4.44, 6.4.12 and 7.1.5, urlRedirectAction() turns a path that starts with // into <scheme>://..., so that protocol-relative targets configured in routes work. The path info of a request starts with // when its URI does. So these redirects send the browser to the host written at the start of the path:
GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit
This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.
The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.
The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.
GET https://app.example//evil.example/edit/ => 301 Location: https://evil.example/edit
This affects routes whose path starts with a placeholder that accepts /, like /{path}/edit with the .+ requirement. The trailing-slash redirect applies to all of them, and the scheme redirect to the ones that require a scheme. A front controller in a subdirectory doesn't prevent it.
The matcher now encodes the slash or backslash that follows the leading slash of the path it redirects to, as %2F or %5C. It also does so when tabs or newlines come in between. The target route still matches it, and protocol-relative targets configured in routes keep working.
The matchers of the Routing component encode it too before calling RedirectableUrlMatcherInterface::redirect(), so that other implementations of this method get the encoded path as well.
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)None
Affected & Patched Versions
- symfony/framework-bundle >= 5.4.44 and < 5.4.57
- symfony/framework-bundle >= 6.4.12 and < 6.4.51
- symfony/framework-bundle >= 7.1.5 and < 7.4.24
- symfony/framework-bundle >= 8.0.0 and < 8.1.12
- symfony/symfony >= 5.4.44 and < 5.4.57
- symfony/symfony >= 6.4.12 and < 6.4.51
- symfony/symfony >= 7.1.5 and < 7.4.24
- symfony/symfony >= 8.0.0 and < 8.1.12
- symfony/framework-bundle 5.4.57
- symfony/framework-bundle 6.4.51
- symfony/framework-bundle 7.4.24
- symfony/framework-bundle 8.1.12
- symfony/symfony 5.4.57
- symfony/symfony 6.4.51
- symfony/symfony 7.4.24
- symfony/symfony 8.1.12
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run symfony/framework-bundle and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new symfony/framework-bundle CVEsYou are reading CVE-2026-133745. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 11:01 UTC