CVE-2026-133746
UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
- CVSS
- 5.3
- EPSS
- 0.84% (p55)
- Published
- 2026-11-25
- Age
- 4d old
- Modified
- 2026-11-26
- Product
- Symfony symfony/routing
- Aliases
- GHSA-cpx6-mpfq-c6cr
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
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.
Fixed in
5.4.57 · 6.4.51 · 7.4.24 · 8.1.12
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | symfony/routing | >=0, <5.4.57 | 5.4.57 |
| unknown | symfony/routing | >=6.0.0, <6.4.51 | 6.4.51 |
| unknown | symfony/routing | >=7.0.0, <7.4.24 | 7.4.24 |
| unknown | symfony/routing | >=8.0.0, <8.1.12 | 8.1.12 |
| unknown | symfony/symfony | >=0, <5.4.57 | 5.4.57 |
| unknown | symfony/symfony | >=6.0.0, <6.4.51 | 6.4.51 |
| unknown | symfony/symfony | >=7.0.0, <7.4.24 | 7.4.24 |
| unknown | symfony/symfony | >=8.0.0, <8.1.12 | 8.1.12 |
Sources
- NVD · first seen 4d ago · NVD terms of use
- OSV · first seen 4d ago · CC-BY 4.0
- CVE List · first seen 4d ago · CVE Terms of Use
References
- https://symfony.com/cve-2026-133746 vendor-advisory
- https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr vendor-advisory
- https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9 patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133746.json advisory
- https://github.com/symfony/symfony package
- https://nvd.nist.gov/vuln/detail/CVE-2026-133746 advisory
- https://packagist.org web