# CVE-2026-135801: Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.71% (percentile 49, 2026-11-28)
- **CWE:** CWE-288, CWE-436
- **Published:** 2026-11-24T08:55:15.124Z
- **Modified:** 2026-11-25T20:18:37.930Z

## Who should check

- Anyone running 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
- Anyone running 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

## 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 and fixed versions

- 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 (cvelist)
- 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 (cvelist)

## Technologies

Symfony

## Mitigation

- Upgrade symfony/http-foundation to 8.1.11 or later.
- Upgrade symfony/symfony to 8.1.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-135801. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-135801.md
Affected: 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; 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
Fixed in: symfony/http-foundation 5.4.56, symfony/http-foundation 6.4.50, symfony/http-foundation 7.4.23, symfony/http-foundation 8.1.11, symfony/symfony 5.4.56, symfony/symfony 6.4.50, symfony/symfony 7.4.23, symfony/symfony 8.1.11

Steps:
1. Search this machine and project for symfony/http-foundation, symfony/symfony: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-135801 being exploited?

There is no confirmed exploitation: CVE-2026-135801 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-135801?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-135801?

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; 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.

### Is there a fix for CVE-2026-135801?

Yes. Fixed in symfony/http-foundation 5.4.56, symfony/http-foundation 6.4.50, symfony/http-foundation 7.4.23, symfony/http-foundation 8.1.11, symfony/symfony 5.4.56, symfony/symfony 6.4.50, symfony/symfony 7.4.23, symfony/symfony 8.1.11. Upgrade symfony/http-foundation to 8.1.11 or later. Upgrade symfony/symfony to 8.1.11 or later.

### How do I check if I'm affected by CVE-2026-135801?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://symfony.com/cve-2026-135801>
- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx>
- patch: <https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-135801>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-135801> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-135801>
