Servers and applications
CVE-2026-48784
UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization
- Severity
- Medium
- Published
- 27 May 2026
- Last changed
- 27 May 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 5.4.53, 6.4.41, 7.4.13, 8.0.13
- Exploit chance
- 0.3% in the next 30 daysHigher than 28% of CVEs. EPSS by FIRST, 18 Nov 2026
- Weakness
- CWE-172Open redirect (CWE-601)
- Also known as
- GHSA-h5x3-xfc9-m39h
- Sources
- Project advisories (GitHub)
Description
Symfony\Component\Routing\Generator\UrlGenerator::doGenerate() percent-encodes . and .. path segments so that the generated URL still resolves to the originating route after RFC 3986 §5.2.4 dot-segment removal (which strict RFC-3986 consumers — routers, reverse proxies, HTTP clients — perform before percent-decoding).
The encoding was implemented as strtr($url, ['/../' => '/%2E%2E/', '/./' => '/%2E/']) plus a trailing-segment fixup. strtr advances past the trailing / of each match, so the next dot-segment in a chained sequence was left unescaped:
When a route exposes a parameter constrained by a permissive requirement (.+, .*, or similar) that accepts dots and slashes, attacker-controlled chained .. or . segments produce a generated URL that, under strict RFC 3986 normalization, collapses to a different path than the originating route. The Twig path() / url() helpers and any server-side use of UrlGenerator are affected.
Affected software
| Software | Affected versions |
|---|---|
SymfonyServers and applications · github:symfony/symfony |
|
About Symfony
PHP web application framework for MVC applications
- Developers who used it in the past year
- 4%Stack Overflow Developer Survey 2025, 2025
- Monthly downloads (Packagist)
- 321,952Packagist, 15 Nov 2026
- Total downloads (Packagist)
- 88,437,595Packagist, 15 Nov 2026
- GitHub stars
- 31,439GitHub, 15 Nov 2026
- Forks
- 9,949GitHub, 15 Nov 2026
- Latest release
- v8.2.0-BETA2GitHub, 15 Nov 2026
- Released
- 13 Nov 2026GitHub
- Developer
- SensioLabsWikidata
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First released
- 22 Oct 2005Wikidata
- First published on GitHub
- 4 Jan 2010GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.1 | 8.1.11 | Until 31 Jan 2027 |
| 8.0 | 8.0.16 | Ended 31 Jul 2026 |
| 7.4 (LTS)LTS | 7.4.23 | Until 30 Nov 2029 |
| 7.3 | 7.3.11 | Ended 31 Jan 2026 |
| 7.2 | 7.2.9 | Ended 31 Jul 2025 |
| 7.1 | 7.1.11 | Ended 31 Jan 2025 |
From endoflife.date.
Vulnerabilities in Symfony
- In our list
- 84
- Published in the last 12 months
- 66
- Critical, last 12 months
- 0
- High, last 12 months
- 18
- Known exploited
- 0
- GHSA-4qpf-57w4-m3wcIp Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter BypassMedium 6.3 4 Nov 2026
- CVE-2026-123125Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter BypassMedium 6.3 4 Nov 2026
- CVE-2026-118517HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066Low 2.3 4 Nov 2026
- GHSA-wm2w-4mgj-vw33HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761Medium 5.3 4 Nov 2026
- CVE-2026-121373HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761Medium 5.3 4 Nov 2026
- GHSA-q8jq-xrf4-v5j8HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List BypassLow 4 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-48784
- GitHub Advisory Database https://github.com/advisories/GHSA-h5x3-xfc9-m39h
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-h5x3-xfc9-m39h