Directory Traversal in Symfony's Filesystem Path Management
CVE-2026-135803
Key Information:
- Vendor
Symfony
- Vendor
- CVE Published:
- 24 November 2026
What is CVE-2026-135803?
A vulnerability exists in the Symfony Framework due to improper handling of file paths by the Path component. The affected methods utilize Path::split() to process paths without validating URI schemes, allowing certain applications to read or write files outside their designated directories. This is particularly concerning when user input is involved in path construction. For instance, the AssetMapper component of Symfony 6.4 and later versions is vulnerable to this issue, allowing malicious packages to reference files via CSS, leading to potential unauthorized file creation or access. The resolution requires strict checks on path prefixes to ensure that only valid URI schemes are recognized while properly resolving relative path segments.
Affected Version(s)
symfony/filesystem 5.4.0 < 5.4.56
symfony/filesystem 6.0.0 < 6.4.50
symfony/filesystem 7.0.0 < 7.4.23
