SCA: security update for symfony/serializer, symfony/symfony (GHSA-h38r-xrmh-cwhr)

high Tenable Cloud Security Plugin ID 489467

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The Symfony Serializer component DataUriNormalizer handles only the exact types SplFileInfo,
SplFileObject, and File, so for a property typed with a subclass such as UploadedFile, ObjectNormalizer
instantiates the object through its constructor from attacker-controlled data, including the file path.
This allows an arbitrary file on the server to be treated as an uploaded file in Symfony versions prior to
5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A request body such as
{"image": {"path": "/path/to/project/.env.local", "originalName": "a.png", "test": true}} makes the
application handle any file on the server as an upload, without the file being sent. With test: true,
UploadedFile::isValid() skips is_uploaded_file() and move() falls back to rename(). Assert\File does not
prevent this because it validates the file at the attacker-chosen path, which exists on the server. Any
code that deserializes untrusted data into a type that holds such a property is affected. That includes
#[MapRequestPayload] on a DTO with an UploadedFile property, which is how uploads are mapped in Symfony
8.1; a single unauthenticated request with a JSON or form body is enough. Depending on what the
application does with the upload, this can expose any file readable by PHP (for instance, when uploads are
stored and served back), move any such file when move() is called, and reveal whether a path exists. A
serializer built without DataUriNormalizer ahead of the object normalizer is not protected by the fix; the
serializer configured by FrameworkBundle is. (CVE-2026-118515)

Solution

Update the symfony/serializer library and its related packages to version 5.4.56 or later.

See Also

https://github.com/advisories/GHSA-h38r-xrmh-cwhr

Plugin Details

Severity: High

ID: 489467

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 12/2/2026

Updated: 12/4/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-118515

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.4

Threat Score: 7.1

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 11/6/2026

Reference Information

CVE: CVE-2026-118515

cwe: CWE-73