UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
Summary
| CVE | CVE-2026-133746 |
|---|---|
| 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 fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn't run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report: path('blog_rss', {_locale: '/evil.com'}) => //evil.com/blog/rss.xml Requirements that accept /, like .+, give such URLs in every environment. Applications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn't define. UrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply whatever strict_requirements is set to. When strict_requirements is false or null, the generator logs an error and returns an empty string instead of throwing. |
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
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/routing | affected 5.4.57 semver | Not specified |
| CNA | Symfony | Symfony/routing | affected 6.0.0 6.4.51 semver | Not specified |
| CNA | Symfony | Symfony/routing | affected 7.0.0 7.4.24 semver | Not specified |
| CNA | Symfony | Symfony/routing | affected 8.0.0 8.1.12 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 5.4.57 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 6.0.0 6.4.51 semver | Not specified |
| CNA | Symfony | Symfony/symfony | affected 7.0.0 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-cpx6-mpfq-c6cr | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | github.com | |
| github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9 | b5aa5c7f-767d-4597-9c64-3ac08b8711c6 | github.com | |
| symfony.com/cve-2026-133746 | 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: Nicolas Grekas (en)
There are currently no legacy QID mappings associated with this CVE.