Authentication Bypass Using an Alternate Path or Channel Affecting symfony/http-foundation package, versions >=5.4.50, <5.4.56>=6.4.29, <6.4.50>=7.3.7, <7.4.23>=8.0, <8.1.11


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-SYMFONYHTTPFOUNDATION-22958551
  • published25 Nov 2026
  • disclosed24 Nov 2026
  • creditNicolas Grekas

Introduced: 24 Nov 2026

NewCVE-2026-135801  (opens in a new tab)
CWE-288  (opens in a new tab)

How to fix?

Upgrade symfony/http-foundation to version 5.4.56, 6.4.50, 7.4.23, 8.1.11 or higher.

Overview

symfony/http-foundation is a component defines an object-oriented layer for the HTTP specification.

Affected versions of this package are vulnerable to Authentication Bypass Using an Alternate Path or Channel via Request::getPathInfo(), which incorrectly strips the script name from the start of the URL even when it is only the beginning of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin (or encoded variants such as /index%2Ephpadmin or /%69ndex.phpadmin) yields the path info /admin and is routed as /admin. This allows an attacker to bypass access rules enforced in front of PHP - such as an nginx location /admin block, an Apache <Location /admin> section, or a CDN or WAF rule on /admin - by appending the protected path to the script name.

Note: This is only exploitable when access-control rules are enforced in front of PHP (e.g. in nginx, Apache, a CDN, or a WAF); rules enforced by Symfony itself (access_control, firewalls) are not affected.

CVSS Base Scores

version 4.0
version 3.1