CVE-2026-135801symfony/http-foundation Authentication Bypass Using an Alternate Path or Channel
NVD
Vulnerability Summary
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.
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.
Affected & Patched Versions
- symfony/http-foundation >= 5.4.50 and < 5.4.56
- symfony/http-foundation >= 6.4.29 and < 6.4.50
- symfony/http-foundation >= 7.3.7 and < 7.4.23
- symfony/http-foundation >= 8.0.0 and < 8.1.11
- symfony/symfony >= 5.4.50 and < 5.4.56
- symfony/symfony >= 6.4.29 and < 6.4.50
- symfony/symfony >= 7.3.7 and < 7.4.23
- symfony/symfony >= 8.0.0 and < 8.1.11
- symfony/http-foundation 5.4.56
- symfony/http-foundation 6.4.50
- symfony/http-foundation 7.4.23
- symfony/http-foundation 8.1.11
- symfony/symfony 5.4.56
- symfony/symfony 6.4.50
- symfony/symfony 7.4.23
- symfony/symfony 8.1.11
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run symfony/http-foundation and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 24, 2026Published
- Nov 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new symfony/http-foundation CVEsYou are reading CVE-2026-135801. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 24, 2026 09:23 UTC