← Vulnerabilities

MediumAdvisoryPHPSymfony

Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects

Affected

PackageAffected versionsFixed in
composer:symfony/serializer< 5.4.565.4.56
composer:symfony/serializer>= 6.4.9, < 6.4.506.4.50
composer:symfony/serializer>= 7.0.9, < 7.1.07.1.0
composer:symfony/serializer>= 7.1.2, < 7.4.237.4.23
composer:symfony/serializer>= 8.0.0, < 8.1.118.1.11
Show all (10)
PackageAffected versionsFixed in
composer:symfony/symfony< 5.4.565.4.56
composer:symfony/symfony>= 6.4.9, < 6.4.506.4.50
composer:symfony/symfony>= 7.0.9, < 7.1.07.1.0
composer:symfony/symfony>= 7.1.2, < 7.4.237.4.23
composer:symfony/symfony>= 8.0.0, < 8.1.118.1.11

ObjectNormalizer::isAllowedAttribute() treats any attribute name containing . (and, from 6.4, [) as writable, 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 therefore writes to $order->customer->admin, bypassing the #[Ignore] metadata of the nested class. That metadata is only consulted when the nested object is denormalized in its own right, never when…

Read on GitHub Advisory Database

On 12/02/2026, 06:24 AM, GitHub Advisory Database published "Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Symfony. CVE: CVE-2026-122053.