CVE Watchtower

CVE-2026-133754symfony/routing Improper Encoding or Escaping of Output

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(5.3)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
Root Weakness (CWE)
The product prepares a structured message for communication with another component, but encoding or escaping of the data is missing or incorrect.
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
CVSS v4.0 Base Metrics — Score 5.3 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)Low
Integrity (Subsequent System)Low
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • symfony/routing < 5.4.57
  • symfony/routing >= 6.0.0 and < 6.4.51
  • symfony/routing >= 7.0.0 and < 7.4.24
  • symfony/routing >= 8.0.0 and < 8.1.12
  • symfony/symfony < 5.4.57
  • symfony/symfony >= 6.0.0 and < 6.4.51
  • symfony/symfony >= 7.0.0 and < 7.4.24
  • symfony/symfony >= 8.0.0 and < 8.1.12
Patched Versions
  • symfony/routing 5.4.57
  • symfony/routing 6.4.51
  • symfony/routing 7.4.24
  • symfony/routing 8.1.12
  • symfony/symfony 5.4.57
  • symfony/symfony 6.4.51
  • symfony/symfony 7.4.24
  • symfony/symfony 8.1.12

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run symfony/routing and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 25, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new symfony/routing CVEsYou are reading CVE-2026-133754. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 11:01 UTC