Packagist · Servers and applications
CVE-2026-135803
Filesystem Path Treats Any Prefix Before "://" as a Root, Letting Paths Escape Their Base Directory
- Severity
- High
- Published
- 4 Nov 2026
- Last changed
- 24 Nov 2026
- Added to UpHeron
- 24 Nov 2026
- Fixed in
- 5.4.56, 6.4.50, 7.4.23, 8.1.11
- Exploit chance
- 0.2% in the next 30 daysHigher than 10% of CVEs. EPSS by FIRST, 24 Nov 2026
- Weakness
- Path traversal (CWE-22)
- Also known as
- GHSA-6prc-h956-hxjq
- Sources
- CVE Program, Project advisories (GitHub)
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.
Affected software
| Software | Affected versions |
|---|---|
SymfonyServers and applications · github:symfony/symfony |
|
symfony/filesystemPackagist · osv:Packagist:symfony/filesystem |
|
SymfonyPackagist · osv:Packagist:symfony/symfony |
|
About Symfony
PHP web application framework for MVC applications
- Developers who used it in the past year
- 4%Stack Overflow Developer Survey 2025, 2025
- Monthly downloads (Packagist)
- 315,437Packagist, 22 Nov 2026
- Total downloads (Packagist)
- 88,509,675Packagist, 22 Nov 2026
- GitHub stars
- 31,457GitHub, 22 Nov 2026
- Forks
- 9,960GitHub, 22 Nov 2026
- Latest release
- v8.2.0-BETA2GitHub, 22 Nov 2026
- Released
- 13 Nov 2026GitHub
- Developer
- SensioLabsWikidata
- License
- MIT LicenseWikidata
- Written in
- PHPWikidata
- First released
- 22 Oct 2005Wikidata
- First published on GitHub
- 4 Jan 2010GitHub
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.1 | 8.1.11 | Until 31 Jan 2027 |
| 8.0 | 8.0.16 | Ended 31 Jul 2026 |
| 7.4 (LTS)LTS | 7.4.23 | Until 30 Nov 2029 |
| 7.3 | 7.3.11 | Ended 31 Jan 2026 |
| 7.2 | 7.2.9 | Ended 31 Jul 2025 |
| 7.1 | 7.1.11 | Ended 31 Jan 2025 |
From endoflife.date.
Vulnerabilities in Symfony
- In our list
- 72
- Published in the last 12 months
- 54
- Critical, last 12 months
- 0
- High, last 12 months
- 16
- Known exploited
- 0
- CVE-2026-123125Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter BypassMedium 6.3 4 Nov 2026
- CVE-2026-118517HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066Low 2.3 4 Nov 2026
- CVE-2026-121373HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761Medium 5.3 4 Nov 2026
- CVE-2026-121949HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset: Media Scheme and Host Allow-List BypassLow 2.3 4 Nov 2026
- CVE-2026-123824XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = trueLow 2.3 4 Nov 2026
- CVE-2026-122053ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested ObjectsMedium 6.9 4 Nov 2026
About symfony/filesystem
- Monthly downloads (Packagist)
- 31,332,127Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 812,088,994Packagist, 24 Nov 2026
This is the only vulnerability in symfony/filesystem in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135803
- GitHub Advisory Database https://github.com/advisories/GHSA-6prc-h956-hxjq
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-6prc-h956-hxjq