phpatch.com

← phpatch.com home

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

Medium · CVSS 6.5 (GHSA) · fetched 2026-12-01

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

Our analysis

Who is affected

This advisory is PHP-relevant but does not enumerate interpreter branches: it concerns a PHP application or component — the product named in the summary above. The affected versions and the fixed release to move to are stated in the remediation and the source advisory.

Exploitation status

Not KEV-listed in this record. In the source data for this record (retrieved 2026-12-01), the vulnerability was not listed in the CISA Known Exploited Vulnerabilities catalog. Read that narrowly: it means no catalogued exploitation at retrieval time, not that exploitation is impossible or unreported elsewhere.

Patch priority

Patch in the next regular maintenance cycle. The drivers for this record: the source rates it Medium; CVSS 6.5 (GHSA); it affects a PHP application component rather than the interpreter. No emergency handling is indicated by this record; schedule it, and re-check sooner if its KEV or severity status changes.

How this verdict is derived: from the fields on this page — the source advisory's severity and CVSS score, CISA KEV listing status and the affected-branch data — as retrieved 2026-12-01. It is a triage aid, not a substitute for the source advisory.

Remediation

Upgrade symfony/serializer to 5.4.56 or later. Upgrade symfony/serializer to 6.4.50 or later. Upgrade symfony/serializer to 7.1.0 or later.

Affected PHP branches

See the source advisory.

Check your site

Source: GitHub Global Security Advisories (Composer ecosystem) · retrieved 2026-12-01T19:20:11-05:00 · https://github.com/advisories/GHSA-hqp2-7rr8-hf26

← All threats