Path traversal in Symfony - CVE-2026-135803
Published: December 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to read or write files outside the intended directory, depending on how the application uses the affected path.
The vulnerability exists due to improper path traversal prevention in Symfony Filesystem's Path::split() when it treats any prefix before the first :// as a path root without verifying that it is a URI scheme. This leaves parent-directory segments unresolved in paths that PHP treats as local. A remote attacker can supply a path that bypasses directory containment checks to read or write files outside the base directory if the application then opens the path. A malicious or compromised remote package can also cause AssetMapper to write outside assets/vendor when an import map command processes the package's CSS references.