CVE-2026-45065
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-14
- Last modified
- 2026-07-15
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.3 %
higher than 18 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Sensiolabs | Symfony | < 5.4.52 | Affected |
| Sensiolabs | Symfony | ≥ 6.0.0, < 6.4.40 | Affected |
| Sensiolabs | Symfony | ≥ 7.0.0, < 7.4.12 | Affected |
| Sensiolabs | Symfony | ≥ 8.0.0, < 8.0.12 | Affected |
| symfony | routing (Packagist) | < 5.4.52 | Affected |
| symfony | routing (Packagist) | ≥ 6.0.0, < 6.4.40 | Affected |
| symfony | routing (Packagist) | ≥ 7.0.0, < 7.4.12 | Affected |
| symfony | routing (Packagist) | ≥ 8.0.0, < 8.0.12 | Affected |
| symfony | symfony (Packagist) | < 5.4.52 | Affected |
| symfony | symfony (Packagist) | ≥ 6.0.0, < 6.4.40 | Affected |
| symfony | symfony (Packagist) | ≥ 7.0.0, < 7.4.12 | Affected |
| symfony | symfony (Packagist) | ≥ 8.0.0, < 8.0.12 | Affected |
Weakness type
-
CWE-185: Incorrect Regular Expression
The product specifies a regular expression in a way that causes data to be improperly matched or compared.
-
CWE-601: URL Redirection to Untrusted Site
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
References
- https://github.com/symfony/symfony/releases/tag/v5.4.52
- https://github.com/symfony/symfony/releases/tag/v6.4.40
- https://github.com/symfony/symfony/releases/tag/v7.4.12
- https://github.com/symfony/symfony/releases/tag/v8.0.12
- https://github.com/symfony/symfony/security/advisories/GHSA-72xp-p242-47p9
Related at Berigo
Articles
-
Two open ports give root code execution on Cisco Nexus 9000 switches
Same product
2026-09-26
Cisco has warned of CVE-2026-20212 in Nexus 9000 switches with Silicon One ASICs. The vulnerability scores 9.8 and lets an attacker without login exe…
-
CISA warns of increased attacks on control units in water and wastewater
Same product
2026-08-03
CISA issued an alert on 30 July 2026 about a rise in threat actors attacking programmable logic controllers in the water and wastewater sector. Attac…
-
AI models in security testing gained unauthorised access to real systems
Same product
2026-07-31
Anthropic reviewed 141,006 evaluation runs and found three incidents in which the model gained unauthorised access to real systems. The review follow…
-
CI Fortify: six steps to isolate vital OT systems in a crisis
Same product
2026-07-29
The Australian Signals Directorate has published CI Fortify, guidance on disconnecting vital operational technology from all other networks. It sets …
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.