A type allow-list bypass in the BSON serialization library of the MongoDB C# Driver allows a type-restriction check to be circumvented when polymorphic data is deserialized into loosely typed members. An unauthorized party who can supply or plant BSON/JSON data that the application later deserializes can cause the application process to instantiate .NET types outside the intended allow-list and populate them with unauthorized party-controlled values. In applications that contain a suitable gadget type, this can lead to arbitrary code execution in the context of the application, with corresponding loss of confidentiality, integrity, and availability. No special privileges beyond the ability to introduce data the application reads are required.
References
| Link | Resource |
|---|---|
| https://jira.mongodb.org/browse/CSHARP-6160 |
Configurations
No configuration.
History
13 Nov 2026, 00:20
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-13 00:20
Updated : 2026-11-17 05:18
NVD link : CVE-2026-126982
Mitre link : CVE-2026-126982
CVE.ORG link : CVE-2026-126982
JSON object : View
Products Affected
No product.
CWE
CWE-502
Deserialization of Untrusted Data
