CVE-2025-64500: Symfony/http foundation Symfony's Incorrect Parsing Of PATH_INFO Vulnerability

HIGH
Advisory Identifier: GHSA-3rg7-wf37-54rm
CVSS 7.3
CWE-647
Published
Advisory Summary

CVE-2025-64500 is a HIGH (CVSS 7.3) symfony's incorrect parsing of path_info vulnerability (CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions) affecting Symfony/http foundation libraries in the Packagist ecosystem. The issue involves symfony's incorrect parsing of path_info can lead to limited authorization bypass. Remediation is available by upgrading affected packages to version 5.4.50, 6.4.29, 7.3.7.

CVE-2025-64500 at a Glance

CVE Identifier CVE-2025-64500
GHSA Identifier GHSA-3rg7-wf37-54rm
Severity HIGH
CVSS v3.1 Base Score 7.3
CWE Classification CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions
Affected Product Symfony/http foundation
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-64500

To remediate this vulnerability, upgrade all affected Symfony/http foundation dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

symfony/http-foundation fixed: 5.4.50
Upgrade symfony/http-foundation to 5.4.50
symfony/http-foundation fixed: 6.4.29
Upgrade symfony/http-foundation to 6.4.29
symfony/http-foundation fixed: 7.3.7
Upgrade symfony/http-foundation to 7.3.7
symfony/symfony fixed: 5.4.50
Upgrade symfony/symfony to 5.4.50
symfony/symfony fixed: 6.4.29
Upgrade symfony/symfony to 6.4.29
symfony/symfony fixed: 7.3.7
Upgrade symfony/symfony to 7.3.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for symfony/http-foundation

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-64500, inspect your project dependencies for Symfony/http foundation:

inspect dependencies for symfony/http-foundation

Analyze the terminal output to locate any version of Symfony/http foundation in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.4.50), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions, where the product defines policy namespaces and makes authorization decisions based on the assumption that a url is canonical. this can allow a non-canonical url to bypass the authorization. In Symfony/http foundation, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Description The `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption. ### Resolution The `Request` class now ensures that URL paths always start with a `/`. The patch for this issue is available [here](https://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac) for branch 5.4. ### Credits We would like to thank Andrew Atkinson for discovering the issue, Chris Smith for reporting it and Nicolas Grekas for providing the fix.

CVE-2025-64500 Affected Symfony/http foundation Versions

6 component(s)
Fixed Versions:
5.4.506.4.297.3.7
Product / Package Ecosystem Affected Versions Fixed Version
symfony/http-foundation
Packagist
< 5.4.50
5.4.50
symfony/http-foundation
Packagist
≥ 6.0.0
< 6.4.29
6.4.29
symfony/http-foundation
Packagist
≥ 7.0.0
< 7.3.7
7.3.7
symfony/symfony
Packagist
≥ 2.0.0
< 5.4.50
5.4.50
symfony/symfony
Packagist
≥ 6.0.0
< 6.4.29
6.4.29
symfony/symfony
Packagist
≥ 7.0.0
< 7.3.7
7.3.7

References

Frequently Asked Questions

What is CVE-2025-64500?
CVE-2025-64500 is a security vulnerability in Symfony/http foundation involving Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions.
Which Symfony/http foundation versions are affected?
Affected versions include releases prior to 5.4.50, 6.4.29, 7.3.7 across affected packages: symfony/http-foundation, symfony/symfony.
What version fixes CVE-2025-64500?
Upgrading to 5.4.50, 6.4.29, 7.3.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/http-foundation affected?
Yes, symfony/http-foundation is affected in releases prior to 5.4.50, 6.4.29, 7.3.7. Upgrade your dependency to 5.4.50, 6.4.29, 7.3.7 or later.
Is symfony/symfony affected?
Yes, symfony/symfony is affected in releases prior to 5.4.50, 6.4.29, 7.3.7. Upgrade your dependency to 5.4.50, 6.4.29, 7.3.7 or later.
What is the CVSS score of CVE-2025-64500?
CVE-2025-64500 has a CVSS v3.1 base score of 7.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2025-64500?
CVE-2025-64500 is classified under CWE-647: Use of Non-Canonical URL Paths for Authorization Decisions (The product defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical. This can allow a non-canonical URL to bypass the authorization.).
How can I check Packagist dependencies for CVE-2025-64500?
Run the dependency tree command: 'inspect dependencies for symfony/http-foundation'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3rg7-wf37-54rm",
  "modified" : "2025-11-15T03:13:30Z",
  "published" : "2025-11-12T21:50:37Z",
  "aliases" : [ "CVE-2025-64500" ],
  "summary" : "Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass",
  "details" : "### Description\n\nThe `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption.\n\n### Resolution\n\nThe `Request` class now ensures that URL paths always start with a `/`.\n\nThe patch for this issue is available [here](https://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac) for branch 5.4.\n\n### Credits\n\nWe would like to thank Andrew Atkinson for discovering the issue, Chris Smith for reporting it and Nicolas Grekas for providing the fix.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/http-foundation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.4.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/http-foundation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.4.29"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/http-foundation"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.3.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "5.4.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0"
      }, {
        "fixed" : "6.4.29"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0"
      }, {
        "fixed" : "7.3.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/security/advisories/GHSA-3rg7-wf37-54rm"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64500"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2025-64500.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2025-64500.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/symfony/symfony"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypass"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-647" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-12T21:50:37Z",
    "nvd_published_at" : "2025-11-12T22:15:50Z"
  }
}