CVE-2026-133752: symfony/serializer Vulnerability

CVE-2026-133752

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(6.3)
Published Date
Nov 25, 2026
Last Modified
Nov 25, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Published
EPSS Score (30-Day)
0.86%Probability
Root Weakness (CWE)
The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • symfony/serializer >= 5.1.0 and < 5.4.57
  • symfony/serializer >= 6.0.0 and < 6.4.51
  • symfony/serializer >= 7.0.0 and < 7.4.24
  • symfony/serializer >= 8.0.0 and < 8.1.12
  • symfony/symfony >= 5.1.0 and < 5.4.57
  • symfony/symfony >= 6.0.0 and < 6.4.51
  • symfony/symfony >= 7.0.0 and < 7.4.24
  • symfony/symfony >= 8.0.0 and < 8.1.12
Patched 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

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run symfony/serializer and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 25, 2026Published
  • Nov 25, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new symfony/serializer CVEsYou are reading CVE-2026-133752. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 25, 2026 11:01 UTC