CVE-2026-126982
Received Received - Intake

BSON Deserialization Type Allow-List Bypass in MongoDB C# Driver

Vulnerability report for CVE-2026-126982, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: MongoDB, Inc.

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
MongoDB C# Driver From 3.2.0 (inc) to 3.14.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-502 The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a type allow-list bypass in the BSON serialization library of the MongoDB C# Driver. It allows an unauthorized party to bypass type-restriction checks when polymorphic data is deserialized into loosely typed members. This can lead to the application instantiating unintended .NET types and populating them with attacker-controlled values.

Impact Analysis

If exploited, this vulnerability can result in arbitrary code execution in the context of the application. This can lead to loss of confidentiality, integrity, and availability of the affected system. Attackers only need the ability to introduce data that the application reads.

Compliance Impact

This vulnerability could lead to loss of confidentiality, integrity, and availability of data, which may violate compliance requirements under GDPR (e.g., unauthorized data access or processing) and HIPAA (e.g., unauthorized disclosure of protected health information).

Mitigation Strategies

Update the MongoDB C# Driver to the latest version that patches this vulnerability. Review applications using the driver to ensure polymorphic data deserialization is restricted to intended types. Monitor for unusual .NET type instantiations or unauthorized code execution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126982. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...