{"id":"CVE-2026-45065","published":"2026-07-14T17:43:45Z","modified":"2026-07-14T19:51:44Z","title":"Symfony: UrlGenerator Route-Requirement Bypass via Unanchored Regex Alternation → Off-Site //host URL Injection","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, UrlGenerator validates route parameters against a pattern built as ^ plus the raw requirement plus $; with ungrouped alternations, middle alternatives match as unanchored substrings, allowing a value such as //evil.com to satisfy a common locale requirement and generate a protocol-relative off-site URL. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00348,"percentile":0.29201,"provenance":"source"},"cwes":[{"id":"CWE-185","name":"Incorrect Regular Expression"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-72xp-p242-47p9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":7.5,"factors":[{"name":"EPSS percentile","points":5.84},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-14T19:42:20.686323Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/routing","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-72xp-p242-47p9"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-72xp-p242-47p9"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-44323","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2026-45065","children":[{"from":"CVE-2026-45065","to":"CVE-2026-48784","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/routing","fromFixed":"5.4.52","toFixed":"5.4.53","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/routing","fromFixed":"6.4.40","toFixed":"6.4.41","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Routing/Generator/UrlGenerator.php"],"commits":["https://github.com/symfony/symfony/commit/bcf487c22f3240ba994124e0e0fe8616f3cfc47a","https://github.com/symfony/symfony/commit/4b63c3a3f7af04ecd79c89a594b0b02a01990b1d"],"basis":"shared function","functions":["doGenerate"]}]}],"packageHistory":[{"cve":"CVE-2012-6431","published":"2012-12-27","fixed":"2.0.19","kev":false},{"cve":"CVE-2026-45065","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-48784","published":"2026-07-14","fixed":"8.0.13","kev":false}],"package":"Packagist:symfony/routing"}}