CVE-2025-64500
7.3Symfony · Symfony Framework
The Symfony HttpFoundation component improperly parses PATH_INFO, allowing unauthenticated attackers to bypass access control rules that rely on path prefix assumptions.
Executive summary
A vulnerability in the Symfony framework allows unauthenticated attackers to bypass security restrictions, posing a significant risk to application authorization integrity.
Vulnerability
This flaw involves the improper interpretation of URL paths within the Request class. An unauthenticated attacker can craft specific URLs that do not start with a forward slash, effectively bypassing authorization rules that assume all valid paths must begin with one.
Business impact
A successful exploitation of this vulnerability could lead to unauthorized access to protected application resources. Because this flaw targets the authorization layer, it may allow attackers to perform actions or view data they should not have access to, potentially leading to data exfiltration or unauthorized state changes. With a CVSS score of 7.3, this is a high severity issue that requires immediate attention to prevent privilege escalation or administrative bypass.
Remediation
Immediate Action: Update the Symfony framework and the HttpFoundation component to version 5.4.50, 6.4.29, or 7.3.7 or higher, as appropriate for your branch.
Proactive Monitoring: Review application access logs for unusual URL path structures or attempts to access restricted endpoints using non-standard path formatting.
Compensating Controls: Deploy or update Web Application Firewall rules to normalize incoming request paths and block requests that exhibit non-canonical behavior or malformed path structures.
Exploitation status
Public Exploit Available: Yes, a public proof-of-concept repository is available on GitHub.
Analyst recommendation
The severity of this vulnerability is elevated by the availability of public proof-of-concept material. Organizations should prioritize updating their Symfony dependencies immediately to prevent potential authorization bypass. If an immediate update is not feasible, implement strict input validation and request normalization as a temporary measure to protect sensitive application routes.
More Symfony CVEs
Sources
- https://github.com/symfony/symfony/security/advisories/GHSA-3rg7-wf37-54rm
- https://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2025-64500.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2025-64500.yaml
- https://symfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypass