Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-133746 EUVD-2026-135235

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

Published Nov 25, 2026 · Assigned by Symfony

Description

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.

Affected products

VendorProductAffectedFixed
Symfony symfony/routing < 5.4.57, 6.0.0 – < 6.4.51, 7.0.0 – < 7.4.24, 8.0.0 – < 8.1.12 5.4.57
Symfony symfony/symfony < 5.4.57, 6.0.0 – < 6.4.51, 7.0.0 – < 7.4.24, 8.0.0 – < 8.1.12 5.4.57

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony No fix yet —
Debian 13 symfony 6.4.51+dfsg-0+deb13u1 DSA-6668-1
Debian 12 symfony No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 symfony No fix yet —
Ubuntu 26.04 LTS symfony No fix yet —
Ubuntu 16.04 LTS symfony No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS symfony No fix yet —
Ubuntu Pro 22.04 LTS symfony No fix yet —
Ubuntu Pro 20.04 LTS symfony No fix yet —
Ubuntu Pro 18.04 LTS symfony No fix yet —

Advisories 1

References