CVE-2026-135801Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | symfony | Under investigation |
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/http-foundation: affected: 5.4.50 to before 5.4.56, 6.4.29 to before 6.4.50, 7.3.7 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
5.4.56,6.4.50,7.4.23,8.1.11 - symfony/symfony: affected: 5.4.50 to before 5.4.56, 6.4.29 to before 6.4.50, 7.3.7 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
5.4.56,6.4.50,7.4.23,8.1.11
Vendor advisories:
- https://symfony.com/cve-2026-135801 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx (vendor-advisory)
- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122 (patch)
References
- https://symfony.com/cve-2026-135801
- https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx
- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.