CVE-2026-122053Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on…
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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-122053 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-122053 | |
| Debian 14 | symfony | Fixed | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-122053 |
| Debian 13 | symfony | Fixed | 6.4.50+dfsg-0+deb13u1 | DEBIAN-CVE-2026-122053 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-122053 |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sensiolabs symfony: affected: 5.4.41 to before 5.4.56, 6.4.9 to before 6.4.50, 7.0.9 to before 7.1.0, 7.1.2 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
5.4.56,6.4.50,7.1.0,7.4.23,8.1.11
Vendor advisories:
- https://github.com/symfony/symfony/commit/fcaf87a93c7fa5b7fe9e9e8382d4ed0d0c52c67c (patch)
- https://github.com/symfony/symfony/commit/9f7390678a255f7962fb1c81c42b26fa907d3437 (patch)
References
- https://github.com/symfony/symfony/security/advisories/GHSA-hqp2-7rr8-hf26
- https://github.com/symfony/symfony/commit/fcaf87a93c7fa5b7fe9e9e8382d4ed0d0c52c67c
- https://github.com/symfony/symfony/commit/9f7390678a255f7962fb1c81c42b26fa907d3437
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.