Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.3

CVE-2026-126839: MongoDB C# driver can load unexpected objects from crafted data

CVE-2026-126839 · published 9 days ago
Summary

The MongoDB C# driver may accept specially crafted binary data and create objects that were not meant to be allowed. This can cause the application to end up with incorrect or harmful data, leading to errors or unexpected behavior. To protect yourself, update to a version of the driver that fixes the check or add your own validation before deserializing data.

What to do
  • Update mongodb c# driver to version 3.14.0 or later.
Affected software
VendorProductAffected versions
mongodb c# driver < 3.14.0
Original advisory text
Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization
A deserialization type-restriction control in the BSON serialization component can be bypassed because the check used to recognize a class of compiler-generated types relies on an overly permissive heuristic rather than a precise identification. An unauthorized party able to supply BSON content that an application later deserializes into a loosely typed member can cause types outside the intended allow-list to be constructed and populated with unauthorized party-supplied values inside the consuming application. This can lead to unexpected object state and errors in downstream application logic. No elevated privileges beyond the ability to place unauthorized party-influenced content in the deserialization path are required.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.3 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-502Deserialization of Untrusted Data
Timeline
Published13 Nov 2026
Updated19 Nov 2026
First seen13 Nov 2026
Sources
CVE-2026-126839 · MITRE
Track software like this
Free during beta