Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Symfony | symfony/http-foundation | 5.4.50 – < 5.4.56, 6.4.29 – < 6.4.50, 7.3.7 – < 7.4.23, 8.0.0 – < 8.1.11 | 5.4.56 |
| Symfony | 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 | 5.4.56 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | symfony | 7.4.23+dfsg-1 | — |
| Debian 13 | symfony | 6.4.50+dfsg-0+deb13u1 | DSA-6617-1 |
| Debian 12 | symfony | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | symfony | No fix yet | — |
| Ubuntu 26.04 LTS | symfony | No fix yet | — |
| Ubuntu 16.04 LTS | symfony | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 22.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 20.04 LTS | symfony | No fix yet | — |
| Ubuntu Pro 18.04 LTS | symfony | No fix yet | — |
Advisories 1
- DSA-6617-1 symfony - security update Debian Security (DSA / DLA) · Nov 28, 2026
References
- CVE-2026-135801 vendor-advisory
- GHSA-3h27-hjv7-fqjx vendor-advisory
- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122 patch