CVE-2026-135801
published high CVSS 3.1 · 7.2Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Symfony | — | symfony/http-foundation5.4.50 to < 5.4.56 · 6.4.29 to < 6.4.50 · 7.3.7 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Symfony |
| Symfony | — | symfony/symfony5.4.50 to < 5.4.56 · 6.4.29 to < 6.4.50 · 7.3.7 to < 7.4.23 · 8.0.0 to < 8.1.11 · Other versions: unaffected | Affected | Not stated | Symfony |
| Debian | trixie | symfony | Advisory build | 6.4.50+dfsg-0+deb13u1 | DSA-6617-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Symfony | symfony/http-foundation | 5.4.50 to < 5.4.56 (affected · semver)6.4.29 to < 6.4.50 (affected · semver)7.3.7 to < 7.4.23 (affected · semver)8.0.0 to < 8.1.11 (affected · semver)Default: unaffected | Symfony · cna |
| Symfony | symfony/symfony | 5.4.50 to < 5.4.56 (affected · semver)6.4.29 to < 6.4.50 (affected · semver)7.3.7 to < 7.4.23 (affected · semver)8.0.0 to < 8.1.11 (affected · semver)Default: unaffected | Symfony · cna |
Weaknesses
2- CWE-288 CWE-288 Authentication Bypass Using an Alternate Path or Channel
- CWE-436 CWE-436 Interpretation Conflict
References
3- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122
- GHSA-3h27-hjv7-fqjx https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx
- CVE-2026-135801 https://symfony.com/cve-2026-135801
Provider assertions
2Symfony · cna
Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3301f86d9e2fff01e026dccf9b4959f2915dd26d74200e6c45e6671976bcd201
- Ingested
- 25 Nov 2026, 19:43:00 UTC
- Source record
- Official CVE record