Skip to content

C Driver

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

CVE-2026-126982Published 13 Nov 2026, 00:00 UTC

Real-world risk

2.3/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.7

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from mongodb)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
C DriverCommon>= 3.2.0, < 3.14.03.14.0

What to do

Update to a fixed version: 3.14.0.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededLowA real low-privileged accountFrom the CVSS vector0.60
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 37), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.270
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.27 × threat 0.852.295
  4. Rounded to one decimal between 0.1 and 102.3

How the score works

Exploitation and evidence timeline

  1. 13 Nov 2026 Published
  2. 3 Dec 2026 Risk 2.3 (cvss fallback)

Weakness

CWE-502

References

Get alerts for C Driver

Free email or text alerts when a vulnerability in C Driver reaches risk 8 or higher. Nothing else.

CVE-2026-126982: Remote code execution via generic-type allow-list bypass in BSON object deserialization · CVE Feed