Skip to main content
Menu
CVEs

Symfony authentication bypass in path-based access rules

CVE-2026-135801Published November 24, 2026, updated

Exploited
No known exploitation
Fix
Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
Who is exposed
Not reported

Summary

The affected software is Symfony's http-foundation package (symfony/http-foundation) and the symfony/symfony package. An attacker can craft a URL such as /index.phpadmin, which is routed as /admin, to bypass path-based access rules enforced in front of PHP, such as nginx location blocks, Apache Location sections, or CDN and WAF rules.

Written by a model

Original 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.

What to do

Upgrade to a fixed version: 5.4.56, 6.4.50, 7.4.23, 8.1.11.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-135801 (Path Rules Enforced in Front of PHP Can Be Bypassed by Appending the Path to the Script Name), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-135801 (entry last updated 2026-11-24):
Affected:
- Packagist package symfony/http-foundation: from 5.4.50, fixed in 5.4.56; from 6.4.29, fixed in 6.4.50; from 7.3.7, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11
- Packagist package symfony/symfony: from 5.4.50, fixed in 5.4.56; from 6.4.29, fixed in 6.4.50; from 7.3.7, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11
Fixed versions: 5.4.56, 6.4.50, 7.4.23, 8.1.11.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-135801 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135801 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://symfony.com/cve-2026-135801
- https://github.com/symfony/symfony/security/advisories/GHSA-3h27-hjv7-fqjx
- https://github.com/symfony/symfony/commit/e256536ee7b57a45d69177743c86367e51551122
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-135801
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135801"}.

Affected versions

cve.now Index

11Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach10/20Affects Packagist packages
  • Severity1/10Rated low by Symfony
  • No patch0/5No signal

What would change the score

  • Would score about 66 if added to CISA KEV
  • Would score about 61 if CISA's SSVC rates exploitation active
  • Would score about 33 if advisories confirm default setups are exposed

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 5

KindSource
Vendor advisory 2Establishes: Affected and fixed versions.
Advisorysymfony.com · cve-2026-135801
AdvisoryGitHub · symfony/symfony · Advisory GHSA-3h27-hjv7-fqjx
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-135801
RecordNVD · CVE-2026-135801
Other links 1
PatchGitHub · symfony/symfony · Commit e256536e

Questions about CVE-2026-135801

Is CVE-2026-135801 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

Which versions are affected by CVE-2026-135801?

symfony/http-foundation (Packagist): from 5.4.50 before 5.4.56; from 6.4.29 before 6.4.50; from 7.3.7 before 7.4.23; from 8.0.0 before 8.1.11. symfony/symfony (Packagist): from 5.4.50 before 5.4.56; from 6.4.29 before 6.4.50; from 7.3.7 before 7.4.23; from 8.0.0 before 8.1.11.

Source: cve.now feed data

How do I fix CVE-2026-135801?

Upgrade to a fixed version: 5.4.56, 6.4.50, 7.4.23, 8.1.11.

Source: cve.now feed data

No corrections so far. Something wrong on this page? Report an error.