PoC Monitor
← All CVEs
CVE-2026-126982published 13 Nov 2026 00:00 UTCData: JSON · API

MongoDB C# Driver

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.7high · scored by CNA · CWE-502
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB C# Driver
  • >= 3.2.0, < 3.14.0

Fixed in 3.14.0

Mitigation

Upgrade C# Driver to 3.14.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published13 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.