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

Status: published. Published: 2026-11-24. Updated: 2026-11-24.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: Symfony) — https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122

## Affected products and versions

- Symfony / symfony/http-foundation (symfony/http-foundation): ≥ 5.4.50; < 5.4.56 (affected, semver); ≥ 6.4.29; < 6.4.50 (affected, semver); ≥ 7.3.7; < 7.4.23 (affected, semver); ≥ 8.0.0; < 8.1.11 (affected, semver). Source: CNA: Symfony
- Symfony / symfony/symfony (symfony/symfony): ≥ 5.4.50; < 5.4.56 (affected, semver); ≥ 6.4.29; < 6.4.50 (affected, semver); ≥ 7.3.7; < 7.4.23 (affected, semver); ≥ 8.0.0; < 8.1.11 (affected, semver). Source: CNA: Symfony

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-288, CWE-436

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://symfony.com/cve-2026-135801 (CNA: Symfony; vendor-advisory)

- https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx (CNA: Symfony; vendor-advisory)

- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122 (CNA: Symfony; patch)

## Provenance

- CNA: Symfony: https://www.cve.org/CVERecord?id=CVE-2026-135801; retrieved 2026-11-24; source updated 2026-11-24

Revision: cca93cc616df23ad1f4d91f9041af045af477ca33878c9763e10c7a6b9591dbb

Canonical: https://y2.dev/cve/CVE-2026-135801

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.