Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/serializer | < 5.4.56 | 5.4.56 |
| composer:symfony/serializer | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/serializer | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/serializer | >= 8.0.0, < 8.1.11 | 8.1.11 |
| composer:symfony/symfony | < 5.4.56 | 5.4.56 |
Show all (8)
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:symfony/symfony | >= 6.0.0, < 6.4.50 | 6.4.50 |
| composer:symfony/symfony | >= 7.0.0, < 7.4.23 | 7.4.23 |
| composer:symfony/symfony | >= 8.0.0, < 8.1.11 | 8.1.11 |
DataUriNormalizer builds \SplFileInfo, \SplFileObject and Symfony\Component\HttpFoundation\File\File objects from data URIs, for those exact types only. A property typed with a subclass of them, like UploadedFile, was left to ObjectNormalizer, which instantiated it through its constructor from the denormalized data, path, original name and test flag included. With #[MapRequestPayload] and a DTO holding an UploadedFile property, which is how uploads are mapped in Symfony 8.1, a request needs no…
Read on GitHub Advisory Database
On 12/02/2026, 06:17 AM, GitHub Advisory Database published "Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File" (type: Advisory). Severity is "High" (high). Related technologies: PHP, Symfony. CVE: CVE-2026-118515.