The Daily Byte
Breaking
Welcome to The Daily Byte — real stories from across Pakistan.
Thursday, 26 November 2026 · Pakistan

The Daily Byte

Stories from Pakistan that deserve to be heard

CVE-2026-135801: Symfony Path Flaw Bypasses Routes

By The Daily Byte ·26 Nov 2026 ·3 min read
A PC room with rows of desktop computers

A request to /index.phpadmin could reach the /admin route of a Symfony application while slipping past the web server, CDN or firewall rules meant to guard it. Tracked as CVE-2026-135801, the flaw is a regression introduced by an earlier security fix, and it is fixed in Symfony HTTP Foundation versions 5.4.56, 6.4.50, 7.4.23 and 8.1.11.

The bug lives in Request::getPathInfo(), the method that works out the application's internal path from the request URL by stripping the front-controller script name from the start. Since the fix for CVE-2025-64500, that stripping happened even when the script name was only the start of a longer path segment. With SCRIPT_NAME set to /index.php, a request to /index.phpadmin had the /index.php prefix removed and came out with the path info /admin, so it was routed exactly like a request to /admin. Encoded spellings worked too, such as /index%2Ephpadmin or /%69ndex.phpadmin. Before the earlier fix, the same request produced the path info admin, which matched no route at all, so the application failed closed. The regression turned a dead request into a live one.

The distinction that matters is where the access rules live. Rules enforced by Symfony itself are not affected: access_control and firewalls read the same path info as the router, so they see /admin and apply as normal. Rules enforced in front of PHP are the ones that can be bypassed. The nginx configuration in Symfony's own documentation and the .htaccess file shipped with symfony/apache-pack both make /index.php/admin unreachable, but they pass /index.phpadmin through to the front controller. That means a location /admin block in nginx, a <Location /admin> section in Apache, or a CDN or web application firewall rule matching /admin may never see the request it was written to stop.

Who is affected

The flaw affects Symfony HTTP Foundation versions from 5.4.50 up to but not including 5.4.56, from 6.4.29 up to but not including 6.4.50, from 7.3.7 up to but not including 7.4.23, and from 8.0 up to but not including 8.1.11. Applications are exposed when protected routes rely on rules enforced in front of PHP rather than on Symfony's own access controls. No CVSS score has been published yet, and no public exploit code has been observed. The flaw does not appear in CISA's Known Exploited Vulnerabilities catalogue.

What the fix changes

The script name is now stripped only when it is followed by a slash, a question mark or the end of the URL. A request to /index.phpadmin now keeps the path info /index.phpadmin, which matches no route. The issue was reported by Nicolas Grekas, and the fix was provided by Jack Worman. It was published on 24 November 2026 as part of Symfony's security release batch.

What to do now

Upgrade to Symfony HTTP Foundation 5.4.56, 6.4.50, 7.4.23 or 8.1.11. Teams should also check how their protected routes are guarded: if an /admin area depends on a web server, CDN or firewall rule rather than Symfony's access_control or firewall configuration, that rule should be reviewed and the application-side control added as a second layer. Server logs can be searched for requests containing index.phpadmin or encoded variants of the script name to see whether anyone probed for the bypass.