Symfony's incorrect parsing of PATH_INFO can lead to limited authorization bypass
Published 12 Nov 2025 · Updated 10 Sept 2026
Affected packages
- Affected
- <5.4.50
- Fixed in
- 5.4.50
composer require symfony/http-foundation:^5.4.50- Affected
- >=6.0.0 <6.4.29
- Fixed in
- 6.4.29
composer require symfony/http-foundation:^6.4.29- Affected
- >=7.0.0 <7.3.7
- Fixed in
- 7.3.7
composer require symfony/http-foundation:^7.3.7- Affected
- >=2.0.0 <5.4.50
- Fixed in
- 5.4.50
composer require symfony/symfony:^5.4.50- Affected
- >=6.0.0 <6.4.29
- Fixed in
- 6.4.29
composer require symfony/symfony:^6.4.29- Affected
- >=7.0.0 <7.3.7
- Fixed in
- 7.3.7
composer require symfony/symfony:^7.3.7Details
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 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.
Is GHSA-3rg7-wf37-54rm in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected symfony/http-foundation, and gives you the command that fixes it.
References
- Linkgithub.com/symfony/symfony/security/advisories/GHSA-3rg7-wf37-54rm
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-64500
- Linkgithub.com/symfony/symfony/commit/9962b91b12bb791322fa73836b350836b6db7cac
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2025-64500.yaml
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2025-64500.yaml
- Packagegithub.com/symfony/symfony
- Linksymfony.com/blog/cve-2025-64500-incorrect-parsing-of-path-info-can-lead-to-limited-authorization-bypass
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.