CVE-2026-133754 in Routinginfo

Summary

by MITRE • 11/25/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.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability described involves a critical flaw in URL generation logic where untrusted input is inserted into host placeholders without proper encoding or validation, leading to potential open redirect attacks and security misconfigurations. In the affected implementation, the regular expression used for validating host placeholder values allows characters such as forward slashes, at signs, hash symbols, question marks, backslashes, percent signs, and colons. This permissive pattern enables an attacker to inject malicious payloads that bypass standard validation checks while still being interpreted by web browsers in unintended ways. For instance, when a user-supplied value like evil%2Ecom# is passed as the tenant parameter for a host template such as {tenant}.example.com, the resulting URL becomes https://evil%2Ecom#.example.com/dashboard. Although this string appears to contain the legitimate domain example.com after the hash symbol, modern browsers treat everything following the # as fragment identifier data and do not send it to the server. Consequently, the browser navigates directly to evil.com, effectively bypassing any intended host-based access controls or security boundaries that rely on verifying the target hostname.

This issue is exacerbated by internationalized domain name (IDNA) processing rules which map certain Unicode characters, such as full stops like 。, to standard ASCII periods. This means that even if input validation attempts to restrict specific character sets using regex patterns, non-ASCII equivalents can slip through and produce identical malicious outcomes. The operational impact of this flaw is severe for applications that expose user-controlled data directly into URL generation functions or redirect mechanisms. Specifically, when an application passes the query string of a request directly into a url() function with host placeholders, it creates a direct vector for open redirects. Similarly, using RedirectController::redirectAction() with keepQueryParams enabled can trigger this vulnerability if the target route defines a host placeholder that is not present in the source route, allowing attackers to manipulate the redirect destination by injecting malicious query parameters that resolve into valid-looking but dangerous URLs.

To mitigate these risks, the system has been updated to enforce stricter validation on host placeholder values. The new logic explicitly rejects any input containing characters forbidden in standard hostnames according to RFC standards and common security practices. These prohibited characters include C0 control codes, spaces, hash symbols, percent signs, forward slashes, colons, angle brackets, question marks, at signs, square brackets, backslashes, carets, pipes, and delete characters. Additionally, Unicode full stops are now explicitly blocked to prevent IDNA-based bypasses. This validation is applied universally regardless of the strict_requirements configuration setting, ensuring consistent security posture across different operational modes. When strict requirements are disabled or nullified, instead of throwing an exception which might leak stack traces or cause denial-of-service conditions through unhandled errors, the generator logs a detailed error message and returns an empty string. This fail-safe behavior prevents malformed URLs from being generated while maintaining application stability.

It is important to note that despite these restrictions, IPv6 literals enclosed in square brackets remain supported as valid host values due to their specific syntactic requirements for network addressing. However, the updated logic no longer permits port numbers within host placeholders, aligning with best practices where ports should be handled separately or via explicit configuration rather than embedded directly into hostname strings during generation. This change reduces the attack surface by eliminating ambiguity in URL parsing and ensuring that only strictly validated hostnames are used for routing decisions. Security practitioners should ensure that all code paths involving dynamic URL construction undergo rigorous input validation, particularly when dealing with user-supplied data that influences domain names or subdomains. Implementing allowlists for permitted characters and leveraging established libraries for IDNA processing can further harden these components against similar vulnerabilities in the future.

Responsible

Symfony

Reservation

11/20/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.01026

KEV

no

Activities

low

Sources

Do you need the next level of professionalism?

Upgrade your account now!