# 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/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Fix available:** Yes
- **Published:** 24 Nov 2026
- **Updated:** 25 Nov 2026
- **Also known as:** DEBIAN-CVE-2026-135801, GHSA-3h27-hjv7-fqjx, GHSA-hjm2-6vvq-c899, UBUNTU-CVE-2026-135801

## What is CVE-2026-135801?

CVE-2026-135801 is a high-severity vulnerability in symfony/http-foundation, published on 24 Nov 2026. 

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

Weakness: CWE-436 (Interpretation Conflict), CWE-288 (Authentication Bypass Using an Alternate Path or Channel)

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


## How do I fix CVE-2026-135801?

Upgrade to a fixed version.

## Is CVE-2026-135801 being exploited?

There is no known exploitation of CVE-2026-135801 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-135801 and fix it if it is affected.

What it is: CVE-2026-135801 is a high-severity vulnerability in symfony/http-foundation, published on 24 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-135801 in the wild and no public exploit code.

Affected product: symfony/http-foundation. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-135801/ (Markdown: https://insights.sbomify.com/CVE-2026-135801/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-135801
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-135801
- OSV: https://osv.dev/vulnerability/CVE-2026-135801

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-135801/
Summaries are generated and may contain mistakes; the official description above is the record.
