CVE-2026-133752 (GCVE-0-2026-133752)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
The Serializer Doesn't Enforce #[Ignore] on the Class Picked by a Discriminator Map or object_to_populate
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
CWE
- CWE-915 - Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133752 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/2bb7b90… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/serializer |
Affected:
5.1.0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.51 (semver) Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.1.0 , < 5.4.57
(semver)
Affected: 6.0.0 , < 6.4.51 (semver) Affected: 7.0.0 , < 7.4.24 (semver) Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/serializer",
"product": "symfony/serializer",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.1.0",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.1.0",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "remediation developer",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "finder",
"value": "Amimul Ihsan"
}
],
"datePublic": "2026-11-25T09:36:15.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nWhen 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:\n\n```php\n#[DiscriminatorMap(typeProperty: \u0027kind\u0027, mapping: [\u0027email\u0027 =\u003e EmailNotification::class])]\nabstract class Notification {}\n\nclass EmailNotification extends Notification\n{\n #[Ignore]\n public bool $skipModeration = false;\n}\n```\n\nWith 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.\n\nThis affects `ObjectNormalizer`, `PropertyNormalizer` and `GetSetMethodNormalizer`.\n\nThe 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."
}
],
"value": "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.\n\nWhen 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:\n\n#[DiscriminatorMap(typeProperty: \u0027kind\u0027, mapping: [\u0027email\u0027 =\u003e EmailNotification::class])]\nabstract class Notification {}\n\nclass EmailNotification extends Notification\n{\n #[Ignore]\n public bool $skipModeration = false;\n}\n\nWith 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.\n\nThis affects ObjectNormalizer, PropertyNormalizer and GetSetMethodNormalizer.\n\nThe 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."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-915",
"description": "CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:12.261Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133752",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133752"
},
{
"name": "GHSA-qv8q-hf5w-5gjf",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-qv8q-hf5w-5gjf"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/2bb7b90d930573f3aabccb89d553d754316074c7"
}
],
"source": {
"advisory": "GHSA-qv8q-hf5w-5gjf",
"discovery": "UNKNOWN"
},
"title": "The Serializer Doesn\u0027t Enforce #[Ignore] on the Class Picked by a Discriminator Map or object_to_populate",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133752",
"datePublished": "2026-11-25T10:00:12.261Z",
"dateReserved": "2026-11-20T14:01:43.157Z",
"dateUpdated": "2026-11-25T10:00:12.261Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/serializer",
"product": "symfony/serializer",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.1.0",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.1.0",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.0.0",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.0.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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.\n\nWhen 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:\n\n#[DiscriminatorMap(typeProperty: \u0027kind\u0027, mapping: [\u0027email\u0027 =\u003e EmailNotification::class])]\nabstract class Notification {}\n\nclass EmailNotification extends Notification\n{\n #[Ignore]\n public bool $skipModeration = false;\n}\n\nWith 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.\n\nThis affects ObjectNormalizer, PropertyNormalizer and GetSetMethodNormalizer.\n\nThe 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."
}
],
"id": "CVE-2026-133752",
"lastModified": "2026-11-25T10:17:12.660",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "NONE",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"type": "Secondary"
}
]
},
"published": "2026-11-25T10:17:12.660",
"references": [
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://github.com/symfony/symfony/commit/2bb7b90d930573f3aabccb89d553d754316074c7"
},
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-qv8q-hf5w-5gjf"
},
{
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"url": "https://symfony.com/cve-2026-133752"
}
],
"sourceIdentifier": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-915"
}
],
"source": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"type": "Secondary"
}
]
}
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…