CVE-2026-133746: Symfony Symfony/routing
Medium severity, CVSS 5.3. EPSS: 0.8% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Symfony Symfony/routing, before 5.4.57: fixed in 5.4.57
- Symfony Symfony/routing, from 6.0.0, before 6.4.51: fixed in 6.4.51
- Symfony Symfony/routing, from 7.0.0, before 7.4.24: fixed in 7.4.24
- Symfony Symfony/routing, from 8.0.0, before 8.1.12: fixed in 8.1.12
- Symfony Symfony/symfony, before 5.4.57: fixed in 5.4.57
- Symfony Symfony/symfony, from 6.0.0, before 6.4.51: fixed in 6.4.51
- Symfony Symfony/symfony, from 7.0.0, before 7.4.24: fixed in 7.4.24
- Symfony Symfony/symfony, from 8.0.0, before 8.1.12: fixed in 8.1.12
Affected products
- Symfony Symfony/routing: before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
- Symfony Symfony/symfony: before 5.4.57 (fixed in 5.4.57); from 6.0.0, before 6.4.51 (fixed in 6.4.51); from 7.0.0, before 7.4.24 (fixed in 7.4.24); from 8.0.0, before 8.1.12 (fixed in 8.1.12)
Published 2026-11-25. Last modified 2026-11-25.