CVE-2026-135803
Last modified
CVE-2026-135803 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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 .. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Symfony | symfony/filesystem | >= 5.4.0, < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 |
| Symfony | symfony/symfony | >= 5.4.0, < 5.4.56; >= 6.0.0, < 6.4.50; >= 7.0.0, < 7.4.23; >= 8.0.0, < 8.1.11 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-135803?
How severe is CVE-2026-135803?
How do I fix CVE-2026-135803?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-135799A vulnerability was detected in flowable flowable-engine 8.0…4.7
- CVE-2026-1358Airleader Master versions 6.381 and prior allow for file upl…9.8
- CVE-2026-13580A security vulnerability has been detected in Edimax EW-7478…8.8
- CVE-2026-135800A flaw has been found in hiyouga LLaMA-Factory up to 0.9.5. …7.3
- CVE-2026-135801Since the fix for CVE-2025-64500, Request::getPathInfo() str…7.2
- CVE-2026-135802When Request::getBaseUrl() does not find the script name at …8.1
- CVE-2026-135804The fix for CVE-2026-45756 lowers pcre.backtrack_limit to 10…7.5
- CVE-2026-135806Improper Neutralization of Script-Related HTML Tags in a Web…5.3
- CVE-2026-135807Missing Authorization vulnerability in Brainstorm Force Cart…5.3
- CVE-2026-135808Improper Neutralization of Input During Web Page Generation …7.1
- CVE-2026-135809A vulnerability has been found in javahuang SurveyKing up to…5.3
- CVE-2026-13581A vulnerability was detected in Edimax EW-7478APC 1.04. This…6.3
Are you affected by CVE-2026-135803?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
