CVE Vulnerabilities

CVE-2026-45065

Incorrect Regular Expression

Published: Jul 14, 2026 | Modified: Jul 15, 2026
CVSS 3.x
6.1
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product specifies a regular expression in a way that causes data to be improperly matched or compared.

Affected Software

NameVendorStart VersionEnd Version
SymfonySensiolabs*5.4.52 (excluding)
SymfonySensiolabs6.0.0 (including)6.4.40 (excluding)
SymfonySensiolabs7.0.0 (including)7.4.12 (excluding)
SymfonySensiolabs8.0.0 (including)8.0.12 (excluding)
SymfonyUbuntuquesting*
SymfonyUbuntuupstream*

Potential Mitigations

References