Trailing-Slash and Scheme Redirects Send Paths Starting With // to Another Host
Summary
| CVE | CVE-2026-133745 |
|---|---|
| State | PUBLISHED |
| Assigner | Symfony |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-25 10:17:11 UTC |
| Updated | 2026-11-25 10:17:11 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 5.3 MEDIUM from b5aa5c7f-767d-4597-9c64-3ac08b8711c6
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.010260000 probability, percentile 0.627320000 (date 2026-11-26)
Problem Types: CWE-601 | CWE-601 CWE-601 URL Redirection to Untrusted Site
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | Secondary | 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:N/E:X/C... |
| 4.0 | CNA | CVSS | 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:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
NoneUser Interaction
PassiveConfidentiality
NoneIntegrity
NoneAvailability
NoneSub Conf.
LowSub Integrity
LowSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Symfony | Symfony/framework-bundle | affected 5.4.44 5.4.57 semver | Not specified |
| CNA | Symfony | Symfony/framework-bundle | affected 6.4.12 6.4.51 semver | Not specified |
| CNA | Symfony | Symfony/framework-bundle | affected 7.1.5 7.4.24 semver | Not specified |
| CNA | Symfony | Symfony/framework-bundle | affected 8.0.0 8.1.12 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 5.4.44 5.4.57 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 6.4.12 6.4.51 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 7.1.5 7.4.24 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 8.0.0 8.1.12 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/symfony/symfony/security/advisories/GHSA-q2qh-q4p8-qcmj | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | github.com | |
| github.com/symfony/symfony/commit/f2efcbcb236cf18a4efa71581c20edbe03c7ef6b | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | github.com | |
| symfony.com/cve-2026-133745 | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | symfony.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Yan Buatois (en)
CNA: Amimul Ihsan (en)
CNA: Nicolas Grekas (en)
There are currently no legacy QID mappings associated with this CVE.