Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-133752

published medium CVSS 4.0 · 6.3

The Serializer Doesn't Enforce #[Ignore] on the Class Picked by a Discriminator Map or object_to_populate

Published
25 Nov 2026, 10:00:12 UTC
Updated
25 Nov 2026, 20:01:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Symfony — symfony/serializer5.1.0 to < 5.4.57 · 6.0.0 to < 6.4.51 · 7.0.0 to < 7.4.24 · 8.0.0 to < 8.1.12 · Other versions: unaffected Affected Not stated Symfony
Symfony — symfony/symfony5.1.0 to < 5.4.57 · 6.0.0 to < 6.4.51 · 7.0.0 to < 7.4.24 · 8.0.0 to < 8.1.12 · Other versions: unaffected Affected Not stated Symfony
Debian trixie symfony Advisory build 6.4.51+dfsg-0+deb13u1 DSA-6668-1

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.

en · Symfony · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.3 / 10
Severity
medium
Provider
Symfony · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Symfony symfony/serializer 5.1.0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.51 (affected · semver)7.0.0 to < 7.4.24 (affected · semver)8.0.0 to < 8.1.12 (affected · semver)Default: unaffected Symfony · cna
Symfony symfony/symfony 5.1.0 to < 5.4.57 (affected · semver)6.0.0 to < 6.4.51 (affected · semver)7.0.0 to < 7.4.24 (affected · semver)8.0.0 to < 8.1.12 (affected · semver)Default: unaffected Symfony · cna

Weaknesses

1
  • CWE-915 CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes (Symfony · cna)

References

3

Provider assertions

2

Symfony · cna

The Serializer Doesn't Enforce #[Ignore] on the Class Picked by a Discriminator Map or object_to_populate

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
60db62b28b8bb64d88be811498f9f2d4213b9b949e09ceca2469646caf9e670d
Ingested
25 Nov 2026, 20:13:30 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected