Deserialization of Untrusted Data in Serializer - CVE-2026-118515
Published: December 1, 2026
Vulnerability details
The vulnerability allows a remote attacker to make an application treat existing server files as uploads, potentially disclosing or moving those files depending on how the application processes uploads.
The vulnerability exists due to insufficient restrictions on file object creation in Symfony Serializer when denormalizing untrusted data into properties typed as file subclasses such as UploadedFile. A remote attacker can supply untrusted request data that ObjectNormalizer uses to create a file object, causing the application to treat an existing server file as an upload.
Affected software
Symfony
How to mitigate CVE-2026-118515
Symfony - addressed in versions 5.4.56, 6.4.50, 7.4.23, 8.1.11
External References
- https://github.com/symfony/serializer/releases/tag/v8.1.11
- https://github.com/symfony/serializer/commit/9249b0967db54491dc1c00f488ca27f3f2479c13
- https://github.com/symfony/serializer/commit/a8506851597da19d5f299f4e7e918f664b42f6e1
- https://github.com/symfony/serializer/compare/v8.1.10...v8.1.11
- https://github.com/symfony/serializer/releases/tag/v7.4.23
- https://github.com/symfony/serializer/releases/tag/v6.4.50
- https://github.com/symfony/serializer/releases/tag/v5.4.56