CVE-2026-133746 in Routinginfo

Summary

by MITRE • 11/25/2026

The fix for CVE-2026-45065 (GHSA-72xp-p242-47p9) anchored the requirements that UrlGenerator checks parameter values against. That check doesn't run when framework.router.strict_requirements is null, which the routing recipe sets in the prod environment. There, a first placeholder whose value starts with / still gives a protocol-relative URL, as in the original report:

path('blog_rss', {_locale: '/evil.com'}) => //evil.com/blog/rss.xml

Requirements that accept /, like .+, give such URLs in every environment.

Applications are exposed when untrusted values reach these parameters, for example when they pass the query string of the request to path() or url(). A route that uses RedirectController::redirectAction() with keepQueryParams: true does the same, when the target route has a placeholder that the redirecting route doesn't define.

UrlGenerator now encodes the leading // of a URL that has no scheme and host as /%2F. It also rejects parameters that add %2E or %2E%2E segments to the path, which browsers resolve like . and ... These checks apply 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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/25/2026

The vulnerability identified as CVE-2026-45065 represents a critical flaw in the URL generation logic within web frameworks that utilize route parameters to construct URLs dynamically. The core issue stems from how the UrlGenerator component handles parameter validation when the strict requirements configuration is set to null or false, particularly in production environments where such configurations are common for performance optimization. In these scenarios, the framework fails to enforce rigorous checks on user-supplied input passed as route placeholders, allowing malicious actors to inject path segments that alter the resulting URL structure. This flaw enables attackers to generate protocol-relative URLs by supplying values starting with a forward slash, effectively bypassing intended security boundaries and leading to potential open redirect vulnerabilities or host header manipulation attacks depending on how the generated URL is consumed downstream.

The technical mechanism of this vulnerability relies on the specific behavior of HTTP clients when encountering double slashes at the beginning of a path without an explicit scheme. When a route parameter contains a value such as /evil.com, and it is processed by a UrlGenerator that does not strictly validate against regex patterns requiring non-slash characters or similar constraints, the resulting URL becomes //evil.com/blog/rss.xml instead of the expected relative path like /blog/rss.xml with locale set to evil.com. Browsers interpret protocol-relative URLs by inheriting the current scheme and host from the context in which they are used. If this malformed URL is then passed to a redirect function or embedded in a link, the user agent may navigate away from the intended domain to an attacker-controlled server, facilitating phishing attacks, session hijacking via cross-site request forgery if cookies are sent automatically, or data exfiltration through referrer headers.

This issue is exacerbated by specific framework configurations and usage patterns that inadvertently expose this flaw. For instance, when using RedirectController with options like keepQueryParams set to true, any query parameters from the original request that map to undefined placeholders in the target route can be carried over into the generated URL. If these parameters contain malicious payloads starting with slashes, they will be incorporated directly into the path segment of the new URL without proper sanitization. Furthermore, routes defined with loose regular expression requirements, such as .+, accept any character sequence including forward slashes, thereby widening the attack surface for applications that rely on dynamic routing based on user input or query strings. The lack of strict validation in production environments means that these vulnerabilities remain undetected during development and testing phases where stricter settings might be active by default.

The operational impact of this vulnerability is severe, as it allows remote attackers to manipulate the navigation flow of web applications without requiring authentication if the affected routes are publicly accessible. Successful exploitation can lead to unauthorized redirections that trick users into visiting malicious sites mimicking legitimate services, thereby compromising user credentials or installing malware through drive-by downloads. Additionally, in scenarios where the generated URL is used for API callbacks or webhook endpoints, an attacker could redirect these requests to a server under their control, intercepting sensitive data transmitted between systems. The persistence of this flaw across different environments due to configuration differences makes it particularly dangerous, as security teams may overlook production-specific behaviors during routine audits focused on development settings.

Mitigation strategies must address both the immediate code-level fixes and broader architectural changes to prevent similar issues in the future. The primary remediation involves ensuring that UrlGenerator strictly validates all parameter values against robust regular expressions regardless of the strict_requirements setting, specifically blocking inputs that begin with slashes or contain encoded dot sequences like %2E which browsers resolve as directory traversal characters. Developers should also audit their routing configurations to ensure that placeholders used in dynamic URLs have restrictive patterns that exclude path separators and special characters unless explicitly required for legitimate functionality. Implementing input validation at the controller level before passing data to URL generation functions adds an additional layer of defense, ensuring that only expected formats are allowed through.

From a standards perspective, this vulnerability aligns with CWE-20 Improper Input Validation and CWE-601 Open Redirect, highlighting the necessity for comprehensive sanitization of user-controlled data used in security-critical operations like URL construction. Security practitioners should also consider ATT&CK techniques related to social engineering via phishing (T1566) or command and control communication through domain fronting if the redirected URLs are used for malicious purposes. Regular penetration testing focusing on dynamic route generation and redirect logic is essential to identify such misconfigurations before they can be exploited in production environments, ensuring that security controls remain effective across all deployment configurations.

Responsible

Symfony

Reservation

11/20/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00841

KEV

no

Activities

low

Sources

Want to know what is going to be exploited?

We predict KEV entries!