Intel

AIKIDO-2025-10807

symfony/http-foundation is vulnerable to Authorization Bypass

Authorization BypassCVE-2025-64500

81

High Risk

This Affects:

PHPsymfony/http-foundation
2.0.0 - 5.4.49
Fixed in 5.4.50
6.0.0 - 6.4.28
Fixed in 6.4.29
7.0.0 - 7.3.6
Fixed in 7.3.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an authorization bypass. The Request class improperly handles certain PATH_INFO values, allowing URLs to be represented without a leading /. This behavior can bypass access control mechanisms that rely on the assumption that all paths begin with a /.

Who does this affect?

You are affected if you are using a version which is within vulnerability ranges

Background info

symfony/http-foundation is vulnerable to Authorization Bypass in versions 2.0.0 - 5.4.49, 6.0.0 - 6.4.28 and 7.0.0 - 7.3.6.

How to fix this

Upgrade the symfony/http-foundation library to a patch version.