Path traversal in Symfony - CVE-2026-121623

 

Path traversal in Symfony - CVE-2026-121623

Published: December 1, 2026


Vulnerability identifier: #VU171473
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-121623
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to read arbitrary local files that the server process can access.

The vulnerability exists due to inconsistent URI scheme handling in Symfony Serializer's DataUriNormalizer::denormalize() when deserializing client-controlled data into a file object. The normalizer validates the scheme without regard to case, but PHP can interpret an accepted URI as a local path. A remote attacker can supply a crafted URI to read a server file when an SplFileObject is opened during deserialization or when the application subsequently opens or reads a file represented by SplFileInfo or File.


Affected software

Symfony
Serializer

How to mitigate CVE-2026-121623

Install security update from vendor's website.

Symfony - update to 5.4.56
Serializer - update to 5.4.56

External References

Related Security Bulletins