CVE-2026-135801

Source
https://cve.org/CVERecord?id=CVE-2026-135801
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135801.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-135801
Aliases
  • GHSA-3h27-hjv7-fqjx
Published
2026-11-24T08:55:15Z
Modified
2026-11-24T10:00:09Z
Summary
Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
Details

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.

Database specific
{
    "cna_assigner":  "Symfony",
    "cwe_ids":  [
        "CWE-288",
        "CWE-436"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/135xxx/CVE-2026-135801.json"
}
References

Affected packages

Git / github.com/symfony/symfony

Affected ranges

Type
GIT
Repo
https://github.com/symfony/symfony
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "5.4.50"
                },
                {
                    "fixed":  "5.4.56"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "6.4.29"
                },
                {
                    "fixed":  "6.4.50"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "7.3.7"
                },
                {
                    "fixed":  "7.4.23"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "introduced":  "8.0.0"
                },
                {
                    "fixed":  "8.1.11"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "e256536ee7b57a45d69177743c86367e51551122"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v5.*
v5.4.50
v5.4.51
v5.4.52
v5.4.53
v5.4.54
v5.4.55
v6.*
v6.4.29
v6.4.30
v6.4.31
v6.4.32
v6.4.33
v6.4.34
v6.4.35
v6.4.36
v6.4.37
v6.4.38
v6.4.39
v6.4.40
v6.4.41
v6.4.42
v6.4.43
v6.4.44
v6.4.45
v6.4.46
v6.4.47
v6.4.48
v6.4.49

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-135801.json"