CVE-2026-122053Sensiolabs Symfony vulnerability
CVSS score
6.9
Medium
CVSS 4.0 from 596c5446-0ce5-4ba2-aa66-48b3b757a647
Exploit probability (EPSS)
0.33%
0.33% chance of exploitation in the next 30 days, higher than 26.3% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: 596c5446-0ce5-4ba2-aa66-48b3b757a647
How to fix it, step by step
Check whether you're affected
Find every system running sensiolabs Symfony and compare its version with the affected versions.
Update to a fixed version
- Update Symfony to 5.4.56, 6.4.50, 7.1.0, 7.4.23 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- None
- Privileges required
- None
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| sensiolabs Symfony | ≥ 5.4.41, < 5.4.56 · ≥ 6.4.9, < 6.4.50 · ≥ 7.0.9, < 7.1.0 · ≥ 7.1.2, < 7.4.23 · ≥ 8.0.0, < 8.1.11 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-122053 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-122053?
CVE-2026-122053 has a CVSS 4.0 base score of 6.9 (medium).
Which versions are affected?
Sensiolabs Symfony (≥ 5.4.41, < 5.4.56; ≥ 6.4.9, < 6.4.50; ≥ 7.0.9, < 7.1.0; ≥ 7.1.2, < 7.4.23; ≥ 8.0.0, < 8.1.11)
Is there a patch for CVE-2026-122053?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.