UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065

Summary

CVECVE-2026-133746
StatePUBLISHED
AssignerSymfony
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-25 10:17:11 UTC
Updated2026-11-25 10:17:11 UTC
DescriptionThe 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


VersionSourceTypeScoreSeverityVector
4.0b5aa5c7f-767d-4597-9c64-3ac08b8711c6Secondary5.3MEDIUMCVSS: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.0CNACVSS5.3MEDIUMCVSS: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
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Confidentiality
None
Integrity
None
Availability
None
Sub Conf.
Low
Sub Integrity
Low
Sub Availability
None

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report