{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-133746","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-20T14:01:43.157Z","datePublished":"2026-11-25T10:00:06.668Z","dateUpdated":"2026-11-25T10:00:06.668Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-25T10:00:06.668Z"},"title":"UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065","datePublic":"2026-11-25T09:35:59.000Z","descriptions":[{"lang":"en","value":"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:\n\npath('blog_rss', {_locale: '/evil.com'})  =>  //evil.com/blog/rss.xml\n\nRequirements that accept /, like .+, give such URLs in every environment.\n\nApplications 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.\n\nUrlGenerator 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.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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:\n\n```\npath('blog_rss', {_locale: '/evil.com'})  =>  //evil.com/blog/rss.xml\n```\n\nRequirements that accept `/`, like `.+`, give such URLs in every environment.\n\nApplications 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.\n\n`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."}]}],"affected":[{"vendor":"Symfony","product":"symfony/routing","collectionURL":"https://packagist.org","packageName":"symfony/routing","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.0.0","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.0.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"5.4.57","versionType":"semver"},{"version":"6.0.0","status":"affected","lessThan":"6.4.51","versionType":"semver"},{"version":"7.0.0","status":"affected","lessThan":"7.4.24","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.12","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-601","description":"CWE-601 URL Redirection to Untrusted Site","type":"CWE"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"version":"4.0","vectorString":"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","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"references":[{"url":"https://symfony.com/cve-2026-133746","name":"CVE-2026-133746","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr","name":"GHSA-cpx6-mpfq-c6cr","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9","tags":["patch"]}],"credits":[{"lang":"en","value":"Nicolas Grekas","type":"remediation developer"}],"source":{"advisory":"GHSA-cpx6-mpfq-c6cr","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}