StraitOfVuln
Latest / CVE-2026-133752

CVE-2026-133752

MediumCVSS 6.3 (v4.0)Awaiting Analysis
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-133752
Published / updated
25 Nov 2026, 10:17 UTC · last modified 30 Nov 2026, 15:29 UTC
Severity
MEDIUM
CVSS score
6.3 · v4.0 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/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 · Attack vector: Network
Affected vendor
Symfony
Affected products
symfony/serializer, symfony/symfony
Affected versions
symfony/serializer: 5.1.0 to before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12
symfony/symfony: 5.1.0 to before 5.4.57, 6.0.0 to before 6.4.51, 7.0.0 to before 7.4.24, 8.0.0 to before 8.1.12
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
symfony/serializer 5.4.57, symfony/serializer 6.4.51, symfony/serializer 7.4.24, symfony/serializer 8.1.12, symfony/symfony 5.4.57, symfony/symfony 6.4.51, symfony/symfony 7.4.24, symfony/symfony 8.1.12
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.86% probability of exploitation in the next 30 days · 60% percentile (02 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
b5aa5c7f-767d-4597-9c64-3ac08b8711c6