CVE-2026-133752
Description
When it denormalizes data into a class, the Serializer computes which attributes it may write from the #[Ignore] and #[Groups] metadata. It did that for the requested class, but wrote into another class in two cases. The first case is the class that a discriminator map picks from the data. The second is the class of the object passed with the object_to_populate or deep_object_to_populate option. When the requested class has no #[Ignore] attribute and the context sets no groups, nothing was restricted. A client could then set a property that the picked class marks with #[Ignore], constructor arguments included: #[DiscriminatorMap(typeProperty: 'kind', mapping: ['email' => EmailNotification::class])] abstract class Notification {} class EmailNotification extends Notification { #[Ignore] public bool $skipModeration = false; } With a #[MapRequestPayload] Notification $notification argument, the payload {"kind":"email","skipModeration":true} set skipModeration. With groups in the context, a property outside these groups could be set too. This happened when another class of the map had a property with the same name in one of the groups. The same happened with #[Ignore] when the requested class declares the map itself. On 5.4, ObjectNormalizer also returned such properties when normalizing an object whose class declares the map itself. This affects ObjectNormalizer, PropertyNormalizer and GetSetMethodNormalizer. The Serializer now resolves the class it writes into first, and computes the allowed attributes for that class. The type property of a discriminator map is also written only when the metadata of that class allows it.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | symfony |
Fixed | 6.4.51+dfsg-0+deb13u1 |
| sid | symfony |
Fixed | 7.4.24+dfsg-1 |
| forky | symfony |
Affected | — |
| bookworm | symfony |
Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | symfony/serializer | >=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.57|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.51|>=7.0.0,<7.1.0|>=7.1.0,<7.2.0|>=7.2.0,<7.3.0|>=7.3.0,<7.4.0|>=7.4.0,<7.4.24|>=8.0.0,<8.1.0|>=8.1.0,<8.1.12 | |
| Packagist | symfony/symfony | >=5.1.0,<5.2.0|>=5.2.0,<5.3.0|>=5.3.0,<5.4.0|>=5.4.0,<5.4.57|>=6.0.0,<6.1.0|>=6.1.0,<6.2.0|>=6.2.0,<6.3.0|>=6.3.0,<6.4.0|>=6.4.0,<6.4.51|>=7.0.0,<7.1.0|>=7.1.0,<7.2.0|>=7.2.0,<7.3.0|>=7.3.0,<7.4.0|>=7.4.0,<7.4.24|>=8.0.0,<8.1.0|>=8.1.0,<8.1.12 | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| symfony | symfony_serializer | {"startIncluding":"5.1.0","endExcluding":"5.4.57"} | 5.4.57 |
| symfony | symfony_serializer | {"startIncluding":"6.0.0","endExcluding":"6.4.51"} | 6.4.51 |
| symfony | symfony_serializer | {"startIncluding":"7.0.0","endExcluding":"7.4.24"} | 7.4.24 |
| symfony | symfony_serializer | {"startIncluding":"8.0.0","endExcluding":"8.1.12"} | 8.1.12 |
| symfony | symfony_symfony | {"startIncluding":"5.1.0","endExcluding":"5.4.57"} | 5.4.57 |
| symfony | symfony_symfony | {"startIncluding":"6.0.0","endExcluding":"6.4.51"} | 6.4.51 |
| symfony | symfony_symfony | {"startIncluding":"7.0.0","endExcluding":"7.4.24"} | 7.4.24 |
| symfony | symfony_symfony | {"startIncluding":"8.0.0","endExcluding":"8.1.12"} | 8.1.12 |
References
CWEs
CWE-915
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.