SCA: security update for symfony/serializer, symfony/symfony (GHSA-hqp2-7rr8-hf26)

medium Tenable Cloud Security Plugin ID 489493

Description

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

- The Symfony Serializer component ObjectNormalizer treats any attribute name containing . (and, from
Symfony 6.4, [) as a writable property path, allowing untrusted input to modify properties of nested
objects and bypass their #[Ignore] metadata attribute in Symfony versions 5.4.41 prior to 5.4.56, 6.4.9
prior to 6.4.50, 7.0.9 prior to 7.1.0, 7.1.2 prior to 7.4.23, and 8.x prior to 8.1.11.
ObjectNormalizer::isAllowedAttribute() accepts such names, and setAttributeValue() hands the name straight
to PropertyAccessor::setValue(), which parses it as a property path and traverses into the nested object.
A payload key such as customer.admin writes to $order->customer->admin. The #[Ignore] metadata attribute
is only consulted when the nested object is denormalized in its own right, never when it is reached
through a path. #[Groups] restrictions are not bypassed: the path is only accepted when no groups are
passed in the context, and then groups restrict nothing. When the root class carries neither #[Ignore] nor
#[Groups], no allowlist applies and every key of the payload is let through. Because PropertyAccessor also
resolves a path segment against public methods, a segment matching a public method name invokes that
method with the attacker’s value.Applications that bind untrusted input to objects are affected, including
controllers using #[MapRequestPayload] or #[MapQueryString], whose default normalizer is ObjectNormalizer.
With OBJECT_TO_POPULATE, as used for partial updates, the traversal reaches an already hydrated entity
graph, and the modified field may be persisted. The fix accepts a property path only when the class
metadata declares an attribute of that exact name. Declared paths keep working unchanged, and a path in
the payload with no matching declaration is ignored. (CVE-2026-122053)

Solution

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

See Also

https://github.com/advisories/GHSA-hqp2-7rr8-hf26

Plugin Details

Severity: Medium

ID: 489493

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/2/2026

Updated: 12/2/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 8.44

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2026-122053

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2026

Vulnerability Publication Date: 11/6/2026

Reference Information

CVE: CVE-2026-122053

cwe: CWE-915