cve.bz

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

5.3 mediumFix available

Medium (5.3) in symfony.

On this page
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.

Severity

CVSS 4.0

5.3 medium
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
CWE
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
OWASP Top 10
A01:2025 Broken Access Control
Published
Assigned by
Symfony (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-133746 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-133746?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-133746?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-133746 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
symfony/routingbefore 5.4.57
symfony/routingfrom 6.0.0 before 6.4.51
symfony/routingfrom 7.0.0 before 7.4.24
symfony/routingfrom 8.0.0 before 8.1.12
symfony/symfonybefore 5.4.57
symfony/symfonyfrom 6.0.0 before 6.4.51
symfony/symfonyfrom 7.0.0 before 7.4.24
symfony/symfonyfrom 8.0.0 before 8.1.12

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON