ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-135803

A malicious or compromised package can therefore make importmap:require or importmap:install write a file of its choice outside assets/vendor.

CVSS
9.1Critical
Chance of exploitation (EPSS)
0.77%
Published
Nov 24, 2026
In the news
Not yet
More from this vendor

What to do

A critical path traversal flaw in Symfony Filesystem, Symfony, Symfony Symfony that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 5.4.56, 6.4.50, 7.4.23, 8.1.11

Affected versions
Symfony Filesystem
5.4.0 to before 5.4.56; 6.0.0 to before 6.4.50; 7.0.0 to before 7.4.23; 8.0.0 to before 8.1.11
Symfony
5.4.0 to before 5.4.56; 6.0.0 to before 6.4.50; 7.0.0 to before 7.4.23; 8.0.0 to before 8.1.11
Symfony Symfony
5.4.0 to before 5.4.56; 6.0.0 to before 6.4.50; 7.0.0 to before 7.4.23; 8.0.0 to before 8.1.11

Description

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.

CWE-22

Affected products

Get alerts for these →

Timeline 2

Latest change: Nessus plugin 386765: Linux Distros Unpatched Vulnerability : CVE-2026-135803 (Nov 27, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Tue, Nov 24, 2026

  1. CVECVE-2026-135803 published (CVSS 9.1)CVE Program · 09:17 UTC

References 3

  • github.com /symfony/symfony/commit/9441dd5f05e78ad898317083828c1acebff586a1
  • github.com /symfony/symfony/security/advisories/GHSA-6prc-h956-hxjq
  • symfony.com /cve-2026-135803

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”