# 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:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-11-24T08:55:15.124Z
- Modified: 2026-11-25T20:18:37.930Z
- Weaknesses: CWE-288, CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Symfony

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

(As written by CVE List.)

## Affected

- symfony/http-foundation: from 5.4.50 before 5.4.56; from 6.4.29 before 6.4.50; from 7.3.7 before 7.4.23; from 8.0.0 before 8.1.11
- symfony/symfony: from 5.4.50 before 5.4.56; from 6.4.29 before 6.4.50; from 7.3.7 before 7.4.23; from 8.0.0 before 8.1.11

## References

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

## Sources

- CVE List: [CVE-2026-135801](https://www.cve.org/CVERecord?id=CVE-2026-135801), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-135801](https://nvd.nist.gov/vuln/detail/CVE-2026-135801), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-135801 · Whole record: https://cve.day/CVE-2026-135801.json · Rebuilt by cve.day 2026-11-25T23:18:28.993Z
