CVE-2026-45065
published low CVSS 4.0 · 2.3Symfony: UrlGenerator Route-Requirement Bypass via Unanchored Regex Alternation → Off-Site //host URL Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony< 5.4.52 · >= 6.0.0-BETA1, < 6.4.40 · >= 7.0.0-BETA1, < 7.4.12 · >= 8.0.0-BETA1, < 8.0.12 | Affected | Not stated | GitHub_M |
| Debian | bookworm | symfony | Advisory build | 5.4.53+dfsg-0+deb12u1 | DSA-6317-1 |
| Debian | trixie | symfony | Advisory build | 6.4.41+dfsg-0+deb13u1 | DSA-6312-1 |
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, UrlGenerator validates route parameters against a pattern built as ^ plus the raw requirement plus $; with ungrouped alternations, middle alternatives match as unanchored substrings, allowing a value such as //evil.com to satisfy a common locale requirement and generate a protocol-relative off-site URL. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
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
- 2.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | < 5.4.52 (affected)>= 6.0.0-BETA1, < 6.4.40 (affected)>= 7.0.0-BETA1, < 7.4.12 (affected)>= 8.0.0-BETA1, < 8.0.12 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-185 CWE-185: Incorrect Regular Expression
- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
References
5Provider assertions
2GitHub_M · cna
Symfony: UrlGenerator Route-Requirement Bypass via Unanchored Regex Alternation → Off-Site //host URL Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a19faba098238db606c7c6fc550eab6b092863dd6733b5fd27a27778818976fc
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record