CVE-2026-135803: Vulnerability in symfony/filesystem

Critical. 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',...

CWE-22

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.8 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-3gqv-8wv6-5qw7
EU ID
EUVD-2026-133736
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-22
Published
24 Nov 2026
Last change
25 Nov 2026
Likelihood rank
Higher than 52 % of all rated vulnerabilities
Analysis status
Awaiting Analysis

Affected products

Affected versions and the first fixed release

  • symfony/filesystem From 5.4.0 before 5.4.56; From 6.0.0 before 6.4.50; From 7.0.0 before 7.4.23; From 8.0.0 before 8.1.11. Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11
  • symfony/symfony From 5.4.0 before 5.4.56; From 6.0.0 before 6.4.50; From 7.0.0 before 7.4.23; From 8.0.0 before 8.1.11. Fixed in 5.4.56, 6.4.50, 7.4.23, 8.1.11

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related