CVE-2026-126982: high-severity vulnerability in MongoDB C# Driver
Remote code execution via generic-type allow-list bypass in BSON object deserialization
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.7epss 0.3%
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.
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
MongoDB · C# DriverRelated CVEs — MongoDB C# Driver
In the same product, most dangerous first.
CVE-2026-114644HIGHMemory-exhaustion denial of service via unbounded symbol interning during BSON/JSON deserializationEPSS 0.5%CVE-2026-88025MEDIUMGridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB C# DriverEPSS 0.5%CVE-2026-114643MEDIUMDuplicate geometry fields via unvalidated GeoJSON extra membersEPSS 0.4%CVE-2026-114651MEDIUMCross-document data leak via malformed BSON array parsing in reused thread bufferEPSS 0.4%CVE-2026-88026HIGHRegular expression injection via unescaped characters in LINQ query translation in MongoDB C# DriverEPSS 0.4%CVE-2026-129938CRITICALAttacker able to redirect a client's database traffic to a host they control via a comma in an SRV target, bypassing the SRV parent-domain guardEPSS 0.4%