{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-135801","assignerOrgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","state":"PUBLISHED","assignerShortName":"Symfony","dateReserved":"2026-11-24T08:54:00.510Z","datePublished":"2026-11-24T08:55:15.124Z","dateUpdated":"2026-11-24T08:55:15.124Z"},"containers":{"cna":{"providerMetadata":{"orgId":"b5aa5c7f-767d-4597-9c64-3ac08b8711c6","shortName":"Symfony","dateUpdated":"2026-11-24T08:55:15.124Z"},"title":"Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name","datePublic":"2026-11-04T11:43:32.000Z","descriptions":[{"lang":"en","value":"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.\n\nRules 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.\n\nThe 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.","supportingMedia":[{"type":"text/markdown","base64":false,"value":"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.\n\nRules 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.\n\nThe 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":[{"vendor":"Symfony","product":"symfony/http-foundation","collectionURL":"https://packagist.org","packageName":"symfony/http-foundation","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"5.4.50","status":"affected","lessThan":"5.4.56","versionType":"semver"},{"version":"6.4.29","status":"affected","lessThan":"6.4.50","versionType":"semver"},{"version":"7.3.7","status":"affected","lessThan":"7.4.23","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.11","versionType":"semver"}]},{"vendor":"Symfony","product":"symfony/symfony","collectionURL":"https://packagist.org","packageName":"symfony/symfony","repo":"https://github.com/symfony/symfony","defaultStatus":"unaffected","versions":[{"version":"5.4.50","status":"affected","lessThan":"5.4.56","versionType":"semver"},{"version":"6.4.29","status":"affected","lessThan":"6.4.50","versionType":"semver"},{"version":"7.3.7","status":"affected","lessThan":"7.4.23","versionType":"semver"},{"version":"8.0.0","status":"affected","lessThan":"8.1.11","versionType":"semver"}]}],"problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-288","description":"CWE-288 Authentication Bypass Using an Alternate Path or Channel","type":"CWE"}]},{"descriptions":[{"lang":"en","cweId":"CWE-436","description":"CWE-436 Interpretation Conflict","type":"CWE"}]}],"metrics":[{"other":{"type":"Textual description of severity","content":{"text":"low"}}}],"references":[{"url":"https://symfony.com/cve-2026-135801","name":"CVE-2026-135801","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx","name":"GHSA-3h27-hjv7-fqjx","tags":["vendor-advisory"]},{"url":"https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122","tags":["patch"]}],"credits":[{"lang":"en","value":"Jack Worman","type":"remediation developer"},{"lang":"en","value":"Nicolas Grekas","type":"reporter"}],"source":{"advisory":"GHSA-3h27-hjv7-fqjx","discovery":"UNKNOWN"},"x_generator":{"engine":"symfony/ghsa-to-cve"}}}}