PT-2026-47217 · Symfony · Symfony
CVE-2026-48784
·
Published
2026-05-27
·
Updated
2026-07-14
CVSS v4.0
6.9
Medium
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N |
Name of the Vulnerable Software and Affected Versions
Symfony versions prior to 5.4.48
Symfony versions prior to 6.4.15
Symfony versions prior to 7.4.0
Symfony versions prior to 8.0.0
Symfony versions prior to 8.1.0
Description
The
doGenerate() function in SymfonyComponentRoutingGeneratorUrlGenerator incorrectly percent-encodes dot-segments. When using strtr to encode /../ and /./, the function advances past the trailing slash of each match, leaving subsequent dot-segments in a chained sequence unescaped. If a route uses a permissive requirement (such as .+ or .*) for a parameter, attacker-controlled chained .. or . segments can result in a generated URL that collapses to a different path during strict RFC 3986 normalization. This affects the Twig path() and url() helpers, as well as any server-side use of UrlGenerator.Recommendations
Update to version 5.4.48 or newer.
Update to version 6.4.15 or newer.
Update to version 7.4.0 or newer.
Update to version 8.0.0 or newer.
Update to version 8.1.0 or newer.
Exploit
Fix
DoS
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Symfony