Type Allow-list Bypass in MongoDB C# Driver Affecting Data Security
CVE-2026-126982

7.7HIGH

Key Information:

Vendor

Mongodb

Status
Vendor
CVE Published:
13 November 2026

What is CVE-2026-126982?

A type allow-list bypass vulnerability in the BSON serialization library of the MongoDB C# Driver permits circumvention of type-restriction checks during the deserialization of polymorphic data into loosely typed members. This allows an unauthorized individual to supply or embed BSON/JSON data that the application subsequently deserializes. Such actions can lead to the instantiation of .NET types outside the authorized allow-list, populated with malicious values. If the application contains a suitable gadget type, this can result in arbitrary code execution, threatening the confidentiality, integrity, and availability of the application. Importantly, no special privileges are needed beyond the capacity to provide data the application processes.

Affected Version(s)

C# Driver 3.2.0 < 3.14.0

References

CVSS V4

Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.