CVE-2026-133752
Published:November 25, 2026
Updated:November 26, 2026
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.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v5.1.0-BETA1 <v5.4.57Fix Suggestion:
Update to version v5.4.57symfony/serializer (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24symfony/symfony (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12symfony/serializer (PHP):
Affected version(s) >=v5.1.0-BETA1 <v5.4.57Fix Suggestion:
Update to version v5.4.57symfony/serializer (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/symfony (PHP):
Affected version(s) >=v5.1.0-BETA1 <v5.4.57Fix Suggestion:
Update to version v5.4.57symfony/symfony (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1Fix Suggestion:
Update to version v8.2.0-RC1symfony/serializer (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51symfony/symfony (PHP):
Affected version(s) >=v6.0.0-BETA1 <v6.4.51Fix Suggestion:
Update to version v6.4.51symfony/serializer (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12Fix Suggestion:
Update to version v8.1.12symfony/symfony (PHP):
Affected version(s) >=v7.0.0-BETA1 <v7.4.24Fix Suggestion:
Update to version v7.4.24Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improperly Controlled Modification of Dynamically-Determined Object Attributes
EPSS
Base Score:
0.55