Home / Symfony / symfony/filesystem / CVE-2026-135803
CVE-2026-135803: is it exploited, and which versions of symfony/filesystem are affected and fixed?
CVE-2026-135803 is a path traversal (reading or writing files outside the intended folder) vulnerability in symfony/filesystem. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: symfony/filesystem from 5.4.0 before 5.4.56, symfony/filesystem from 6.0.0 before 6.4.50, symfony/filesystem from 7.0.0 before 7.4.23 and 5 more (CVE record by Symfony). Fixed in 5.4.56, 6.4.50, 7.4.23 and 8.1.11 (CVE record by Symfony). Severity: Critical (9.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 25, 2026, 19:51 UTC and NVD November 25, 2026, 21:08 UTC.
What is CVE-2026-135803?
Filesystem Path Treats Any Prefix Before "://" as a Root, Letting Paths Escape Their Base Directory
Most methods of Symfony\Component\Filesystem\Path rely on Path::split(), which takes everything before the first :// as the root of a path. It doesn't check that this prefix is a URI scheme, so the .. segments in that prefix are never resolved. PHP sees a scheme only at the start of a string. So /base/../x://../secret.txt is a plain local path to /secret.txt for PHP, while Path::isBasePath('/base', '/base/../x://../secret.txt') returns true. canonicalize(), join(), makeAbsolute() and makeRelative() are affected the same way. Some applications check a path built from user input with isBasePath() or canonicalize(), and then open it. They can be made to read or write files outside the expected directory. On Symfony 6.4 and later, the AssetMapper component builds with Path::join() the path of the files that a remote package references from its CSS. A malicious or compromised package can therefore make importmap:require or importmap:install write a file of its choice outside assets/vendor. For example, the CSS url(../../../../../public/x://shell.php) writes public/x:/shell.php. A prefix is now a scheme only when PHP would look for a stream wrapper with that name. That is two or more letters, digits, +, - or ., followed by :// at the start of the path. Other prefixes are regular path segments, and the .. segments after them are resolved. Real schemes such as phar://, file://, vfs:// or compress.zlib:// keep working.
From the CVE record by Symfony, last updated November 25, 2026, 19:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Symfony | symfony/filesystem | from 5.4.0 before 5.4.56 from 6.0.0 before 6.4.50 from 7.0.0 before 7.4.23 from 8.0.0 before 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 |
| Symfony | symfony/symfony | from 5.4.0 before 5.4.56 from 6.0.0 before 6.4.50 from 7.0.0 before 7.4.23 from 8.0.0 before 8.1.11 | 5.4.56, 6.4.50, 7.4.23, 8.1.11 |
As the CVE record by Symfony states it, last updated November 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-135803?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-135803 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 25, 2026)
- EPSS
- 0.77% probability of exploitation activity in the next 30 days, percentile 57.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- CVE-2026-135803 vendor-advisory
- GHSA-6prc-h956-hxjq vendor-advisory
- https://github.com/symfony/symfony/commit/9441dd5f05e78ad898317083828c1acebff586a1 patch
Who found and reported it?
- Nicolas Grekas (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 24, 2026
- Published
- November 24, 2026, 08:55 UTC
- CVE record updated
- November 25, 2026, 19:42 UTC by Symfony
- NVD
- Awaiting Analysis, last modified November 25, 2026, 20:18 UTC
- Last checked
- CVE list November 25, 2026, 19:51 UTC; NVD November 25, 2026, 21:08 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-135803
Is CVE-2026-135803 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.77% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of symfony/filesystem are affected by CVE-2026-135803?
symfony/filesystem from 5.4.0 before 5.4.56, symfony/filesystem from 6.0.0 before 6.4.50, symfony/filesystem from 7.0.0 before 7.4.23, symfony/filesystem from 8.0.0 before 8.1.11, symfony/symfony from 5.4.0 before 5.4.56, symfony/symfony from 6.0.0 before 6.4.50 and 2 more, per the CVE record by Symfony. The tables above give every range the sources list.
Which version fixes CVE-2026-135803?
5.4.56, 6.4.50, 7.4.23 and 8.1.11, per the CVE record by Symfony. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-135803?
Critical (9.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-135803?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.