CVE-2026-135801 (GCVE-0-2026-135801)

Vulnerability from cvelistv5 – Published: 2026-11-24 08:55 – Updated: 2026-11-24 08:55
VLAI
Title
Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name
Summary
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.
Severity
No CVSS data available.
CWE
  • CWE-288 - Authentication Bypass Using an Alternate Path or Channel
  • CWE-436 - Interpretation Conflict
Impacted products
Vendor Product Version
Symfony symfony/http-foundation Affected: 5.4.50 , < 5.4.56 (semver)
Affected: 6.4.29 , < 6.4.50 (semver)
Affected: 7.3.7 , < 7.4.23 (semver)
Affected: 8.0.0 , < 8.1.11 (semver)
Create a notification for this product.
Symfony symfony/symfony Affected: 5.4.50 , < 5.4.56 (semver)
Affected: 6.4.29 , < 6.4.50 (semver)
Affected: 7.3.7 , < 7.4.23 (semver)
Affected: 8.0.0 , < 8.1.11 (semver)
Create a notification for this product.
Date Public
2026-11-04 11:43
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/http-foundation",
          "product": "symfony/http-foundation",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.56",
              "status": "affected",
              "version": "5.4.50",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.50",
              "status": "affected",
              "version": "6.4.29",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.23",
              "status": "affected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.11",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://packagist.org",
          "defaultStatus": "unaffected",
          "packageName": "symfony/symfony",
          "product": "symfony/symfony",
          "repo": "https://github.com/symfony/symfony",
          "vendor": "Symfony",
          "versions": [
            {
              "lessThan": "5.4.56",
              "status": "affected",
              "version": "5.4.50",
              "versionType": "semver"
            },
            {
              "lessThan": "6.4.50",
              "status": "affected",
              "version": "6.4.29",
              "versionType": "semver"
            },
            {
              "lessThan": "7.4.23",
              "status": "affected",
              "version": "7.3.7",
              "versionType": "semver"
            },
            {
              "lessThan": "8.1.11",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jack Worman"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Nicolas Grekas"
        }
      ],
      "datePublic": "2026-11-04T11:43:32.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/markdown",
              "value": "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.\n\nRules 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 `\u003cLocation /admin\u003e` section in Apache, or a CDN or WAF rule on `/admin` can be bypassed.\n\nThe 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`."
            }
          ],
          "value": "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.\n\nRules 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 \u003cLocation /admin\u003e section in Apache, or a CDN or WAF rule on /admin can be bypassed.\n\nThe 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."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "text": "low"
            },
            "type": "Textual description of severity"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-288",
              "description": "CWE-288 Authentication Bypass Using an Alternate Path or Channel",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-436",
              "description": "CWE-436 Interpretation Conflict",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-24T08:55:15.124Z",
        "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "shortName": "Symfony"
      },
      "references": [
        {
          "name": "CVE-2026-135801",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://symfony.com/cve-2026-135801"
        },
        {
          "name": "GHSA-3h27-hjv7-fqjx",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx"
        },
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122"
        }
      ],
      "source": {
        "advisory": "GHSA-3h27-hjv7-fqjx",
        "discovery": "UNKNOWN"
      },
      "title": "Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name",
      "x_generator": {
        "engine": "symfony/ghsa-to-cve"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
    "assignerShortName": "Symfony",
    "cveId": "CVE-2026-135801",
    "datePublished": "2026-11-24T08:55:15.124Z",
    "dateReserved": "2026-11-24T08:54:00.510Z",
    "dateUpdated": "2026-11-24T08:55:15.124Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-135801",
      "date": "2026-11-24",
      "epss": "0.00208",
      "percentile": "0.10697"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/http-foundation",
                "product": "symfony/http-foundation",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.56",
                    "status": "affected",
                    "version": "5.4.50",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.50",
                    "status": "affected",
                    "version": "6.4.29",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.23",
                    "status": "affected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.11",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://packagist.org",
                "defaultStatus": "unaffected",
                "packageName": "symfony/symfony",
                "product": "symfony/symfony",
                "repo": "https://github.com/symfony/symfony",
                "vendor": "Symfony",
                "versions": [
                  {
                    "lessThan": "5.4.56",
                    "status": "affected",
                    "version": "5.4.50",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.4.50",
                    "status": "affected",
                    "version": "6.4.29",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.4.23",
                    "status": "affected",
                    "version": "7.3.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "8.1.11",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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.\n\nRules 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 \u003cLocation /admin\u003e section in Apache, or a CDN or WAF rule on /admin can be bypassed.\n\nThe 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."
          }
        ],
        "id": "CVE-2026-135801",
        "lastModified": "2026-11-24T18:56:39.360",
        "metrics": {},
        "published": "2026-11-24T09:17:08.550",
        "references": [
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx"
          },
          {
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "url": "https://symfony.com/cve-2026-135801"
          }
        ],
        "sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
        "vulnStatus": "Awaiting Analysis",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-288"
              },
              {
                "lang": "en",
                "value": "CWE-436"
              }
            ],
            "source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…