๐Ÿ” CVE Alert

CVE-2026-126982

HIGH 7.5

Remote code execution via generic-type allow-list bypass in BSON object deserialization

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-502
Vendor mongodb
Product c# driver
Ecosystems
Industries
Technology
Published Nov 13, 2026
Stay Ahead of the Next One

Get instant alerts for mongodb c# driver

Be the first to know when new high vulnerabilities affecting mongodb c# driver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

MongoDB / C# Driver
3.2.0 < 3.14.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
jira.mongodb.org: https://jira.mongodb.org/browse/CSHARP-6160