CVE-2026-133754UrlGenerator Lets Host Placeholder Values Send Generated URLs to Another Host
UrlGenerator puts the values of host placeholders into the generated URL without encoding them. Their default requirement, [^.]++, accepts /, @, #, ?, \, % and :. With the host {tenant}.example.com, the value evil%2Ecom# gives https://evil%2Ecom#.example.com/dashboard, which browsers send to evil.com. This works even when requirements are checked. Unicode full stops like 。 have the same effect, since IDNA maps them to .. Applications are exposed when untrusted values reach host placeholders, for example when they pass the query string of the request to url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a host placeholder that the redirecting route doesn't define. UrlGenerator now rejects host placeholder values that contain a character that is forbidden in a host. These characters are C0 controls, space, #, %, /, :, <, >, ?, @, [, \, ], ^, | and DEL. Unicode full stops are rejected too. This check applies 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. Host placeholder values can still be an IPv6 literal like [::1], but they can't contain a port anymore.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/routing: affected: before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12 - symfony/symfony: affected: before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12
Vendor advisories:
- https://symfony.com/cve-2026-133754 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5 (vendor-advisory)
- https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f (patch)
References
- https://symfony.com/cve-2026-133754
- https://github.com/symfony/symfony/security/advisories/GHSA-wgv4-frv7-c8c5
- https://github.com/symfony/symfony/commit/73505be32fd675507f3572f5b89ed0a76733bf2f
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.