CVE-2026-126982
Published:November 13, 2026
Updated:November 13, 2026
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.
Affected Packages
MongoDB.Bson (DOT_NET):
Affected version(s) >=3.2.0.0 <3.14.0.0Fix Suggestion:
Update to version 3.14.0.0https://github.com/mongodb/mongo-csharp-driver.git (GITHUB):
Affected version(s) >=v3.2.0 <v3.14.0Fix Suggestion:
Update to version v3.14.0mongodb.bson (NUGET):
Affected version(s) >=3.2.0 <3.14.0Fix Suggestion:
Update to version 3.14.0Related ResourcesĀ (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Deserialization of Untrusted Data