Path traversal in Symfony - CVE-2026-121623
Published: December 1, 2026
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
Serializer
How to mitigate CVE-2026-121623
Serializer - update to 5.4.56