Public vulnerability disclosure

CVE-2026-135801

Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name

publishedCWE-288CWE-436

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.

Technical severityUnscoredNo score in collected sources
Published2026-11-24Source updated 2026-11-24
Collected2026-11-241 attributed source

Fixes and workarounds

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: Symfony

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
symfony/http-foundation
Symfony
symfony/http-foundation
https://packagist.org
≥ 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)
Other versions: unaffected
CNA: Symfony
symfony/symfony
Symfony
symfony/symfony
https://packagist.org
≥ 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)
Other versions: unaffected
CNA: Symfony

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide