CVE-2026-133754
Published:November 25, 2026
Updated:November 29, 2026
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.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v2.2.0-BETA1 <v5.4.57 || >=v3.0.0-BETA1 <v5.4.57 || >=v4.0.0-BETA1 <v5.4.57 || >=v5.0.0-BETA1 <v5.4.57Fix Suggestion:
Update to version v5.4.57https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12symfony/routing (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/symfony (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51symfony/routing (PHP):
Affected version(s) >=v3.0.0-BETA1 <v5.4.57 || >=v4.0.0-BETA1 <v5.4.57 || >=v5.0.0-BETA1 <v5.4.57 || >=v2.2.0 <v5.4.57Fix Suggestion:
Update to version v5.4.57symfony/routing (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12symfony/symfony (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/symfony (PHP):
Affected version(s) >=v4.0.0-BETA1 <v5.4.57 || >=v3.0.0-BETA1 <v5.4.57 || >=v5.0.0-BETA1 <v5.4.57 || >=v2.2.0-BETA1 <v5.4.57Fix Suggestion:
Update to version v5.4.57symfony/symfony (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/routing (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51symfony/routing (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/symfony (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12Additional Notes
The description of this vulnerability differs from MITRE.
Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
1.03