CVE-2026-133746: UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065

Published Nov 25, 2026
·
Updated

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.strictrequirements 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('blogrss', {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 strictrequirements is set to. When strictrequirements is false or null, the generator logs an error and returns an empty string instead of throwing.

Affected Software

1 affected component
composer/symfony/routing

Event History

Nov 25, 2026
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are most likely to be exposed?

Applications using the routing recipe's production configuration, where framework.router.strict_requirements is null, are exposed if an untrusted value reaches the first route placeholder and starts with /. Routes whose requirements allow /, such as .+, can generate these URLs in every environment.

2

What application patterns can let an attacker supply the dangerous parameter?

Exposure occurs when untrusted request values are passed to path() or url(), such as passing the request query string. RedirectController::redirectAction() with keepQueryParams: true is also affected when its target route has a placeholder that the redirecting route does not define.

3

How can I identify affected routes and code paths?

Review calls to path() and url() for route parameters derived from query strings or other untrusted input, especially the first placeholder in a route. Also review redirects using keepQueryParams: true and check whether their target routes contain placeholders absent from the redirecting route.

4

What behavior changes with the updated URL generator?

A leading // in a generated URL without a scheme and host is encoded as /%2F. Parameters that add %2E or %2E%2E path segments are rejected regardless of the strict_requirements setting; when strict_requirements is false or null, the generator logs an error and returns an empty string.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203