CVE-2026-126839
Received Received - Intake

BSON Deserialization Bypass in MongoDB

Vulnerability report for CVE-2026-126839, 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 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.

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 2.21.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 involves a bypass in the BSON serialization component's type-restriction control. The check for compiler-generated types uses an overly permissive heuristic, allowing unauthorized parties to supply BSON content that constructs unintended types when deserialized. This can lead to unexpected object states and errors in application logic without requiring elevated privileges.

Detection Guidance

Detection requires analyzing BSON deserialization processes in applications using the MongoDB C# Driver. Monitor logs for deserialization errors or unexpected object states. Check for unusual input data in network traffic directed to MongoDB endpoints. No specific commands are provided in the context.

Impact Analysis

An attacker could exploit this to manipulate application behavior by injecting unauthorized data into deserialized objects. This may cause crashes, incorrect processing, or unintended data exposure, depending on how the application uses the deserialized content.

Compliance Impact

This vulnerability could potentially lead to unauthorized data manipulation or exposure if exploited, which may violate compliance requirements under GDPR (data integrity and confidentiality) and HIPAA (protected health information integrity). The ability to bypass deserialization controls may allow unauthorized parties to alter application state or inject malicious data, risking non-compliance with data protection principles.

Mitigation Strategies

Update the MongoDB C# Driver to the latest version that patches this issue. Restrict deserialization to trusted BSON content by implementing strict type checks. Validate all BSON input before deserialization. Monitor application behavior for signs of exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126839. 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...