Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name

Summary

CVECVE-2026-135801
StatePUBLISHED
AssignerSymfony
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-24 09:17:08 UTC
Updated2026-11-24 09:17:08 UTC
DescriptionSince 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.

Risk And Classification

Problem Types: CWE-288 | CWE-436 | CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel | CWE-436 CWE-436 Interpretation Conflict

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Symfony Symfony/http-foundation affected 5.4.50 5.4.56 semver Not specified
CNA Symfony Symfony/http-foundation affected 6.4.29 6.4.50 semver Not specified
CNA Symfony Symfony/http-foundation affected 7.3.7 7.4.23 semver Not specified
CNA Symfony Symfony/http-foundation affected 8.0.0 8.1.11 semver Not specified
CNA Symfony Symfony/symfony affected 5.4.50 5.4.56 semver Not specified
CNA Symfony Symfony/symfony affected 6.4.29 6.4.50 semver Not specified
CNA Symfony Symfony/symfony affected 7.3.7 7.4.23 semver Not specified
CNA Symfony Symfony/symfony affected 8.0.0 8.1.11 semver Not specified

References

ReferenceSourceLinkTags
github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122 b5aa5c7f-767d-4597-9c64-3ac08b8711c6 github.com
github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx b5aa5c7f-767d-4597-9c64-3ac08b8711c6 github.com
symfony.com/cve-2026-135801 b5aa5c7f-767d-4597-9c64-3ac08b8711c6 symfony.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Jack Worman (en)

CNA: Nicolas Grekas (en)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report