Medium severity6.1NVD Advisory· Published Jul 14, 2026· Updated Jul 15, 2026
CVE-2026-45065
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
symfony/routingPackagist | < 5.4.52 | 5.4.52 |
symfony/routingPackagist | >= 6.0.0, < 6.4.40 | 6.4.40 |
symfony/routingPackagist | >= 7.0.0, < 7.4.12 | 7.4.12 |
symfony/routingPackagist | >= 8.0.0, < 8.0.12 | 8.0.12 |
symfony/symfonyPackagist | < 5.4.52 | 5.4.52 |
symfony/symfonyPackagist | >= 6.0.0, < 6.4.40 | 6.4.40 |
symfony/symfonyPackagist | >= 7.0.0, < 7.4.12 | 7.4.12 |
symfony/symfonyPackagist | >= 8.0.0, < 8.0.12 | 8.0.12 |
Affected products
4- osv-coords4 versionspkg:apk/chainguard/nextcloud-server-32pkg:apk/chainguard/nextcloud-server-33pkg:apk/wolfi/nextcloud-server-32pkg:apk/wolfi/nextcloud-server-33
< 32.0.11-r1+ 3 more
- (no CPE)range: < 32.0.11-r1
- (no CPE)range: < 33.0.5-r2
- (no CPE)range: < 32.0.11-r1
- (no CPE)range: < 33.0.5-r2
Patches
Vulnerability mechanics
References
10- github.com/symfony/symfony/security/advisories/GHSA-72xp-p242-47p9nvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-72xp-p242-47p9ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/routing/CVE-2026-45065.yamlghsaWEB
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45065.yamlghsaWEB
- github.com/symfony/symfony/commit/bcf487c22f3240ba994124e0e0fe8616f3cfc47aghsaWEB
- github.com/symfony/symfony/releases/tag/v5.4.52nvdProductRelease Notes
- github.com/symfony/symfony/releases/tag/v6.4.40nvdProductRelease Notes
- github.com/symfony/symfony/releases/tag/v7.4.12nvdProductRelease Notes
- github.com/symfony/symfony/releases/tag/v8.0.12nvdProductRelease Notes
- symfony.com/cve-2026-45065ghsaWEB
News mentions
0No linked articles in our index yet.