{"id":"CVE-2026-122053","summary":"Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects","details":"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.\nObjectNormalizer::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-\u003ecustomer-\u003eadmin. 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.\n\nThe 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.","aliases":["GHSA-hqp2-7rr8-hf26"],"modified":"2026-11-08T02:47:30.755203792Z","published":"2026-11-06T16:46:46.986Z","database_specific":{"cna_assigner":"Checkmarx","cwe_ids":["CWE-915"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122053.json"},"references":[{"type":"WEB","url":"https://packagist.org/packages/symfony/serializer"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122053.json"},{"type":"ADVISORY","url":"https://github.com/symfony/symfony/security/advisories/GHSA-hqp2-7rr8-hf26"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122053"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/9f7390678a255f7962fb1c81c42b26fa907d3437"},{"type":"FIX","url":"https://github.com/symfony/symfony/commit/fcaf87a93c7fa5b7fe9e9e8382d4ed0d0c52c67c"},{"type":"PACKAGE","url":"https://github.com/symfony/serializer"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/symfony/serializer","events":[{"introduced":"c97dba58c2fb36dee0381da84952cad21c49b6fb"},{"fixed":"ffaeb561f97bb0045f1f9720a5224607816a75ee"},{"introduced":"56ce31d19127e79647ac53387c7555bdcd5730ce"},{"fixed":"665e460894db3b8650c2ff79a7a1c10d09edd39a"},{"introduced":"37845789fc285ea5fd84da14180933aa386fd487"},{"fixed":"972eb05320d06d07399b71b05e6da9032c865f1d"},{"introduced":"d2077674aaaff02a95f290de512aa358947e6bbe"},{"fixed":"9df8eb88c4d067d7aef1f3940075521769f34086"},{"introduced":"f37bc903a6676900f67c9803f0827718028cf0a8"},{"fixed":"05624c94507c3acf065b6486bb626f0d741af459"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"5.4.41"},{"fixed":"5.4.56"}]},{"strategy":"StandardRange","range":[{"introduced":"6.4.9"},{"fixed":"6.4.50"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"7.0.9"},{"fixed":"7.1.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"strategy":"StandardRange","range":[{"introduced":"7.1.2"},{"fixed":"7.4.23"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"8.0.0"},{"fixed":"8.1.11"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}},{"type":"GIT","repo":"https://github.com/symfony/symfony","events":[{"introduced":"94e6f44f2034de67961d0a4e483999e495f35750"},{"fixed":"d44b243381597fdc2830d1e6a878fda10293b49b"},{"introduced":"f064b5de36e7a3a49d6e204a74027c37b31191e3"},{"fixed":"b655baf04a3727b85d4a2fa7e85aa46c5c9c8e05"},{"introduced":"bbe6c32e30327f2a9e02aed9ec05b2269461e54d"},{"fixed":"08964d6da4787cd5f19e60f8aaf41ffd26d6c8c3"},{"introduced":"b9a741b95ac304882d62bbf34efe8cdf1ec5e78f"},{"fixed":"8d8b1b074c4aa6489a4fedac2ae0af4d0268e9c3"},{"introduced":"85778caba16ad6830fdc28eaa6ee8c1e91d009ef"},{"fixed":"eca3b7b6bd3af91752b3f4b36959520d409ee279"},{"fixed":"9f7390678a255f7962fb1c81c42b26fa907d3437"},{"fixed":"fcaf87a93c7fa5b7fe9e9e8382d4ed0d0c52c67c"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"5.4.41"},{"fixed":"5.4.56"}],"source":"DESCRIPTION"},{"range":[{"introduced":"6.4.9"},{"fixed":"6.4.50"}],"source":"DESCRIPTION"},{"source":"DESCRIPTION","range":[{"introduced":"7.0.9"},{"fixed":"7.1.0"}]},{"source":"DESCRIPTION","range":[{"introduced":"7.1.2"},{"fixed":"7.4.23"}]},{"range":[{"introduced":"8.x"},{"fixed":"8.1.11"}],"source":"DESCRIPTION"},{"range":[{"fixed":"9f7390678a255f7962fb1c81c42b26fa907d3437"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"fcaf87a93c7fa5b7fe9e9e8382d4ed0d0c52c67c"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v6.4.49","v5.4.54","v5.4.55","v8.1.10","v8.1.9","v6.4.47","v8.1.8","v8.1.7","v6.4.46","v8.1.6","v6.4.45","v5.4.45","v6.4.44","v8.1.5","v6.4.43","v8.1.4","v8.1.3","v8.1.2","v8.1.1","v6.4.42","v6.4.37","v8.1.0","v8.1.0-BETA3","v8.1.0-BETA1","v6.4.36","v6.4.35","v6.4.34","v6.4.33","v8.0.5","v6.4.32","v6.4.31","v8.0.0-RC3","v8.0.0","v8.0.2","v6.4.30","v6.4.27","v6.4.26","v6.4.25","v6.4.24","v6.4.23","v6.4.22","v6.4.21","v6.4.19","v6.4.18","v6.4.15","v6.4.13","v6.4.12","v5.4.44","v6.4.11","v5.4.43","v5.4.42","v6.4.10","v6.4.9","v5.4.41","v7.4.22","v7.4.21","v6.4.48","v7.4.20","v7.4.19","v7.4.18","v7.4.17","v5.4.53","v7.4.16","v7.4.15","v7.4.14","v8.1.0-RC1","v7.4.13","v6.4.41","v5.4.52","v7.4.12","v6.4.40","v5.4.51","v8.1.0-BETA2","v7.4.11","v6.4.39","v6.4.38","v7.4.10","v7.4.9","v7.4.8","v7.4.7","v7.4.6","v7.4.5","v7.4.4","v7.4.3","v5.4.50","v7.4.2","v7.4.1","v7.4.0","v7.4.0-RC3","v7.4.0-RC2","v8.0.0-RC1","v7.4.0-RC1","v6.4.29","v5.4.49","v6.4.28","v8.0.0-BETA2","v7.4.0-BETA2","v8.0.0-BETA1","v7.4.0-BETA1","v7.3.0-RC1","v7.3.0-BETA2","v7.3.0-BETA1","v6.4.20","v6.4.17","v6.4.16","v5.4.48","v7.2.0-RC1","v5.4.47","v7.2.0-BETA2","v6.4.14","v5.4.46","v7.2.0-BETA1","v7.1.0-RC1","v7.1.0-BETA1","v7.0.0-RC1","v7.0.0-BETA3","v7.0.0-BETA2","v7.0.0-BETA1","v6.3.0-RC1","v6.3.0-BETA3","v6.3.0-BETA2","v6.3.0-BETA1","v6.2.0-BETA3","v6.2.0-BETA2","v6.2.0-BETA1","v6.1.0-RC1","v6.1.0-BETA2","v6.1.0-BETA1","v6.0.0-RC1","v6.0.0-BETA3","v6.0.0-BETA2","v6.0.0-BETA1","v5.3.0-BETA4","v5.3.0-BETA3","v5.3.0-BETA2","v5.3.0-BETA1","v5.2.0-BETA3","v5.2.0-BETA2","v5.2.0-BETA1","v5.1.0-BETA1","v5.0.0-RC1","v5.0.0-BETA2","v5.0.0-BETA1","v4.3.0-BETA1","v4.2.0-BETA2","v4.2.0-BETA1","v4.0.0-BETA4","v4.0.0-BETA3","v4.0.0-BETA2","v4.0.0-BETA1","v3.3.0-BETA1","v3.2.0-RC1","v3.2.0-BETA1","v3.0.0","v3.0.0-BETA1","v2.6.0-BETA1","v2.5.0-BETA1","v2.5.0-BETA2","v2.4.0-BETA2","v2.4.0-BETA1","v2.3.0-BETA2","v2.3.0-BETA1","v2.2.0-BETA2","v2.2.0-BETA1","v2.1.0","v2.1.0-RC2","v2.1.0-RC1","v2.1.0-BETA4","v2.1.0-BETA3","v2.1.0-BETA2","v2.1.0-BETA1","v2.0.0","v2.0.0-RC6","v2.0.0-RC5","v2.0.0-RC4","v2.0.0-RC3","v2.0.0-RC2","v2.0.0-RC1","v2.0.0BETA5","v2.0.0BETA4","v2.0.0BETA3","v2.0.0BETA2","v2.0.0BETA1","vPR9","vPR8","v2.0.0PR8"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-122053.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}