CVE-2026-133746
published medium CVSS 4.0 · 5.3UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Symfony | — | symfony/routing0 to < 5.4.57 · 6.0.0 to < 6.4.51 · 7.0.0 to < 7.4.24 · 8.0.0 to < 8.1.12 · Other versions: unaffected | Affected | Not stated | Symfony |
| Symfony | — | symfony/symfony0 to < 5.4.57 · 6.0.0 to < 6.4.51 · 7.0.0 to < 7.4.24 · 8.0.0 to < 8.1.12 · Other versions: unaffected | Affected | Not stated | Symfony |
| Debian | trixie | symfony | Advisory build | 6.4.51+dfsg-0+deb13u1 | DSA-6668-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Symfony · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Symfony | symfony/routing | 0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.51 (affected · semver)7.0.0 to < 7.4.24 (affected · semver)8.0.0 to < 8.1.12 (affected · semver)Default: unaffected | Symfony · cna |
| Symfony | symfony/symfony | 0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.51 (affected · semver)7.0.0 to < 7.4.24 (affected · semver)8.0.0 to < 8.1.12 (affected · semver)Default: unaffected | Symfony · cna |
Weaknesses
1- CWE-601 CWE-601 URL Redirection to Untrusted Site
References
3- https://github.com/symfony/symfony/commit/95dd139f821b0a5620034e1e7d1bd1d4db82c1e9
- GHSA-cpx6-mpfq-c6cr https://github.com/symfony/symfony/security/advisories/GHSA-cpx6-mpfq-c6cr
- CVE-2026-133746 https://symfony.com/cve-2026-133746
Provider assertions
2Symfony · cna
UrlGenerator Can Still Generate URLs to Another Host: Incomplete Fix for CVE-2026-45065
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 08475191644bed7e481eb8ce7aad2043cd98592b3b209239af248ed79d456dc6
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record