# CVE-2026-133752: The Serializer Doesn't Enforce \#\[Ignore\] on the Class Picked by a Discriminator Map or object\_to\_populate

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-28)
- **CWE:** CWE-915
- **Published:** 2026-11-25T10:00:12.261Z
- **Modified:** 2026-11-25T20:18:34.780Z

## Who should check

- Anyone running symfony/serializer \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12
- Anyone running symfony/symfony \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12

## 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.

## Affected and fixed versions

- symfony/serializer: \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12 (cvelist)
- symfony/symfony: \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12 (cvelist)

## Technologies

Symfony

## Mitigation

- Upgrade symfony/serializer to 8.1.12 or later.
- Upgrade symfony/symfony to 8.1.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-133752. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-133752.md
Affected: symfony/serializer >= 5.1.0, < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12; symfony/symfony >= 5.1.0, < 5.4.57; >= 6.0.0, < 6.4.51; >= 7.0.0, < 7.4.24; >= 8.0.0, < 8.1.12
Fixed in: 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

Steps:
1. Search this machine and project for symfony/serializer, symfony/symfony: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-133752 being exploited?

There is no confirmed exploitation: CVE-2026-133752 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-133752?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-133752?

symfony/serializer \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12; symfony/symfony \>= 5.1.0, \< 5.4.57; \>= 6.0.0, \< 6.4.51; \>= 7.0.0, \< 7.4.24; \>= 8.0.0, \< 8.1.12.

### Is there a fix for CVE-2026-133752?

Yes. Fixed in 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. Upgrade symfony/serializer to 8.1.12 or later. Upgrade symfony/symfony to 8.1.12 or later.

### How do I check if I'm affected by CVE-2026-133752?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://symfony.com/cve-2026-133752>
- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-qv8q-hf5w-5gjf>
- patch: <https://github.com/symfony/symfony/commit/2bb7b90d930573f3aabccb89d553d754316074c7>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-133752>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-133752> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-133752>
