NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
MEDIUM severity

Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested ObjectsGHSA-hqp2-7rr8-hf26

MEDIUMFix: symfony/symfony@9f73906

GHSA-hqp2-7rr8-hf26 is a medium-severity (CVSS 6.5) CWE-915 vulnerability in symfony/serializer. A fix is available for symfony/serializer — see the affected versions and patch details below.

Also known asCVE-2026-122053
Published
Updated
Affected
10 pkgs
Patched
10 / 10
Exploits
None indexed
Exploitation data as of Dec 1, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-hqp2-7rr8-hf26.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs28th percentile — riskier than 28% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

10 pkgs affected
🐘symfony/serializer🐘symfony/serializer🐘symfony/serializer🐘symfony/serializer🐘symfony/serializer🐘symfony/symfony🐘symfony/symfony🐘symfony/symfony+2 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

Description

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 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.

No allowlist stands in the way. When the root class carries no #[Ignore] and no #[Groups], AbstractNormalizer::getAllowedAttributes() returns false and every key in the payload is let through:

{"customer": {"name": "Mallory"}, "qty": 1, "customer.admin": true}

The first key denormalizes customer normally, honouring #[Ignore] on admin. The third key takes the path fast lane and sets admin anyway.

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.

Because PropertyAccessor resolves a path segment against public methods as well as properties, a segment matching a public method name invokes that method with the attacker's value.

The path support itself is deliberate: class metadata may declare an attribute whose name is a property path and expose it under a serialized_name. Only paths that no mapping ever declared are a problem.

Resolution

A property path is accepted only when the class metadata declares an attribute of that exact name. Declared paths keep working unchanged; a path arriving in the payload with no matching declaration is ignored.

On 6.4 and above the check is placed before the static writability cache is consulted. That cache is keyed on class, attribute and extraction context only, so caching a metadata-dependent answer would let one normalizer answer for another and could restore the bypass.

The patches for this issue are available here for branch 5.4 and here for branch 6.4 (and forward-ported to 7.4, 8.1 and 8.2).

Credits

Symfony would like to thank Alexandre Daubois and The PHP Foundation for reporting the issue.

Affected Packages

10 total 10 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistsymfony/serializerall versions5.4.56composer require symfony/serializer:^5.4.56
🐘Packagistsymfony/serializer≥ 6.4.9&&< 6.4.506.4.50composer require symfony/serializer:^6.4.50
🐘Packagistsymfony/serializer≥ 7.0.9&&< 7.1.07.1.0composer require symfony/serializer:^7.1.0
🐘Packagistsymfony/serializer≥ 7.1.2&&< 7.4.237.4.23composer require symfony/serializer:^7.4.23
🐘Packagistsymfony/serializer≥ 8.0.0&&< 8.1.118.1.11composer require symfony/serializer:^8.1.11
🐘Packagistsymfony/symfonyall versions5.4.56composer require symfony/symfony:^5.4.56

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for symfony/serializer, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update symfony/serializer to 5.4.56 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-hqp2-7rr8-hf26 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

### Description `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 it is reached through a path. `#[Groups]` restrictions are not byp
O3 Security · Impact-Aware SCA

Is GHSA-hqp2-7rr8-hf26 in your dependencies?

Find it across Packagist, including transitive dependencies.

Symfony: ObjectNormalizer Dotted-Key Property-Path…