CVE-2026-133754
Received
Received - Intake
Open Redirect via Unencoded Host Placeholder in Symfony UrlGenerator
Vulnerability report for CVE-2026-133754, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-25
Last updated on: 2026-11-25
Assigner: b5aa5c7f-767d-4597-9c64-3ac08b8711c6
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| Symfony | symfony/routing | From 0 (inc) to 5.4.57 (exc) |
| Symfony | symfony/routing | From 6.0.0 (inc) to 6.4.51 (exc) |
| Symfony | symfony/routing | From 7.0.0 (inc) to 7.4.24 (exc) |
| Symfony | symfony/routing | From 8.0.0 (inc) to 8.1.12 (exc) |
| Symfony | symfony/symfony | From 0 (inc) to 5.4.57 (exc) |
| Symfony | symfony/symfony | From 6.0.0 (inc) to 6.4.51 (exc) |
| Symfony | symfony/symfony | From 7.0.0 (inc) to 7.4.24 (exc) |
| Symfony | symfony/symfony | From 8.0.0 (inc) to 8.1.12 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-601 | The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. |
| CWE-116 | The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved. |