{"id":"CVE-2026-48784","published":"2026-07-14T19:04:20Z","modified":"2026-07-15T13:27:22Z","title":"Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route…","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.53, 6.4.41, 7.4.13, and 8.0.13, UrlGenerator::doGenerate() used strtr() dot-segment encoding that skipped every other chained ../ or ./ segment, allowing attacker-controlled route parameters to generate URLs that collapse to a different path under RFC 3986 normalization. This issue is fixed in versions 5.4.53, 6.4.41, 7.4.13, and 8.0.13.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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-172","name":"Improper Encoding or Decoding of Data"},{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-h5x3-xfc9-m39h","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/4b63c3a3f7af04ecd79c89a594b0b02a01990b1d","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.53","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.41","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.13","tags":["x_refsource_MISC"]}],"priority":{"score":9.4,"factors":[{"name":"EPSS percentile","points":5.84},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.53",">= 6.0.0-BETA1, < 6.4.41",">= 7.0.0-BETA1, < 7.4.13",">= 8.0.0-BETA1, < 8.0.13"]},{"vendor":"symfony","product":"routing","versions":["< 5.4.53",">= 6.0.0-BETA1, < 6.4.41",">= 7.0.0-BETA1, < 7.4.13",">= 8.0.0-BETA1, < 8.0.13"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T13:23:18.119617Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/routing","vulnerableRanges":["<5.4.53",">=6.0.0, <6.4.41",">=7.0.0, <7.4.13",">=8.0.0, <8.0.13"],"patched":["5.4.53","6.4.41","7.4.13","8.0.13"],"from":["GHSA-h5x3-xfc9-m39h"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.53",">=6.0.0, <6.4.41",">=7.0.0, <7.4.13",">=8.0.0, <8.0.13"],"patched":["5.4.53","6.4.41","7.4.13","8.0.13"],"from":["GHSA-h5x3-xfc9-m39h"],"provenance":"source"}],"summary":{"text":"The flaw is in Symfony's UrlGenerator component, where the doGenerate() method used strtr()-based dot-segment encoding that skipped every other chained \"../\" or \"./\" segment. Under RFC 3986 normalization, an attacker who controls route parameters can get a generated URL that collapses to a different path than intended, and exploiting this requires that a user interact with the crafted link (no authentication or network-level prerequisites are stated).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:56Z"},"euvd":{"id":"EUVD-2026-44371","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2026-45065","parents":[{"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"}}