symfony/http-foundation security advisory
CVE-2026-135801: Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name in symfony/http-foundation
CVE-2026-135801 is an authentication bypass vulnerability in the PHP package symfony/http-foundation, published 24 November 2026. It is fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11, one per release line; earlier versions on each line are affected.
published 2026-11-24
- Affected versions
- >= 5.4.50, < 5.4.56
>= 6.4.29, < 6.4.50
>= 7.3.7, < 7.4.23
>= 8.0.0, < 8.1.11 - Fixed in
- 5.4.56, 6.4.50, 7.4.23, 8.1.11
- Newest release
- 8.2.0
- Type
- Authentication bypass
CWE-288, CWE-436 - Exploited in the wild
- Not on the CISA KEV list
checked 2026-11-29
Also affects
- symfony/symfony >= 5.4.50, < 5.4.56; >= 6.4.29, < 6.4.50; >= 7.3.7, < 7.4.23; >= 8.0.0, < 8.1.11 fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
Is your symfony/http-foundation version affected?
Who can exploit CVE-2026-135801
The record does not say what access is needed yet. Until it is scored, assume anyone who can reach your app can try it.
Technical details
Weakness
Authentication bypass CWE-288CWE-436
A flaw in the login or identity check lets someone be treated as logged in, or as another user, without valid credentials.
An attacker may gain access to accounts, potentially including administrators.
General description of this issue type. The advisory below covers this bug.
How to fix CVE-2026-135801 in symfony/http-foundation
- Find the installed version:
composer show symfony/http-foundation. If you never required it yourself,composer why symfony/http-foundationshows which package pulls it in. - Update it:
composer update symfony/http-foundation --with-all-dependencies. You need the fixed version for your release line (5.4.56, 6.4.50, 7.4.23 and 8.1.11). - If Composer will not go that high, your composer.json constraint is holding it back. Widen it (for example
"symfony/http-foundation": "^8.1.11"if you can take that version), or upgrade the package that requires it. - Run
composer audit. It reads the same advisory data and should no longer list CVE-2026-135801. - Commit composer.lock and deploy it. On the server, run
composer install --no-devfrom the lock file, notcomposer update.
If you cannot upgrade yet
- Remove accounts you do not need and review what each role can do.
- Put the admin area behind a VPN, IP allow-list or extra login until you upgrade.
- If your app does not use the affected feature, note that in your audit, but still plan the upgrade.
Is your project exposed to CVE-2026-135801?
Check the one package here, or check everything your project installs at once.
- Check symfony/http-foundation Enter your installed version and compare it with every known symfony/http-foundation advisory. Check my version
-
Check your whole composer.lock
The free checker compares every locked package with the same advisory data
composer audituses. Check composer.lock
The CVE-2026-135801 advisory
Since the fix for CVE-2025-64500, Request::getPathInfo() strips the script name from the start of the URL. It does so even when the script name is only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin gets the path info /admin and is routed like /admin. Encoded spellings such as /index%2Ephpadmin or /%69ndex.phpadmin work too. Before that fix, the path info was admin, which no route matched. Rules enforced by Symfony are not affected: access_control and firewalls read the same path info as the router. Rules enforced in front of PHP are. The nginx configuration of the Symfony documentation and the .htaccess file of symfony/apache-pack make /index.php/admin unreachable, but they pass /index.phpadmin to the front controller. So a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or WAF rule on /admin can be bypassed. The script name is now stripped only when it is followed by /, ? or the end of the URL. A request to /index.phpadmin gets the path info /index.phpadmin.
References
- GitHub security advisory GHSA-3h27-hjv7-fqjx github.com
- Symfony security advisory symfony.com
- Fix commit e256536 github.com
Other symfony/http-foundation advisories
- CVE-2026-121619: The "private_ranges" Trusted Proxies Shortcut Trusts Clients Presenting an IPv4-Mapped, 6to4, Teredo or NAT64 Address as Reverse Proxies 2026-11-04
- CVE-2026-133748: NoPrivateNetworkHttpClient With Custom Subnets Lets IPv4-Mapped Addresses Through 2026-11-04
- CVE-2026-135802: Generated URLs Can Point to a Host Chosen by the Client 2026-11-04
- CVE-2026-118514: HEAD Requests Bypass the methods Option of security.access_control Rules and Firewalls: Incomplete Fix for CVE-2026-45075 2026-11-04
- high CVE-2026-108082: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header 2026-09-15
- medium CVE-2026-48736: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient 2026-05-26
Related
Need help patching or upgrading? Laskyr does PHP and Laravel security fixes and upgrades. Tell us what you run and we reply with a plan and a price.
Ask about a fixWhere this data comes from
- Affected and fixed versions: the Packagist security advisories API (GitHub Advisory Database and FriendsOfPHP), the same data
composer audituses. Synced 2026-11-29. - Description, score, weakness and references: NIST National Vulnerability Database (NVD), checked 2026-11-25. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Exploited-in-the-wild status: the CISA Known Exploited Vulnerabilities catalog, checked 2026-11-29.
- Compiled by Daniel Lasek at Laskyr from the sources above. Everything outside the quoted description is our plain-English reading of the record, generated from it. Spot an error? Tell us.