PatchSiren cyber security CVE debrief
CVE-2026-126982 MongoDB CVE debrief
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.
- Vendor
- MongoDB
- Product
- C# Driver
- CVSS
- HIGH 7.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-11-13
- Original CVE updated
- 2026-11-17
- Advisory published
- 2026-11-13
- Advisory updated
- 2026-11-17
Who should care
Defenders and developers using the MongoDB C# Driver should assess exposure and prioritize verification and remediation of affected systems, especially those with exposed deserialization functionality.
Why it matters
Defenders should prioritize verifying and remediating affected systems, especially those with exposed deserialization functionality, as the vulnerability allows unauthorized parties to instantiate .NET types and potentially execute arbitrary code.
- Potential arbitrary code execution in the context of the application
- Loss of confidentiality, integrity, and availability
- Need to verify and remediate affected systems
- Possible exploitation by unauthorized parties with ability to introduce data
Technical summary
The MongoDB C# Driver's BSON serialization library has a type allow-list bypass vulnerability. When polymorphic data is deserialized into loosely typed members, an unauthorized party can supply or plant BSON/JSON data that the application later deserializes, causing the application process to instantiate .NET types outside the intended allow-list. 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. Affected product deployments should be verified and remediated, especially those with exposed deserialization functionality.
Defensive priority
Defenders should prioritize verifying and remediating affected systems, especially those with exposed deserialization functionality.
Recommended defensive actions
- Verify and remediate affected systems, especially those with exposed deserialization functionality
- Review and update deserialization allow-lists to prevent instantiation of unauthorized .NET types
- Monitor for suspicious BSON/JSON data that could be used to exploit the vulnerability
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance.
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
Evidence notes
The CVE record and source item provide details on the type allow-list bypass vulnerability in the MongoDB C# Driver. The NVD entry is currently not available. Evidence limits suggest that further verification is needed to confirm affected scope and severity. Defenders should verify and remediate affected systems, especially those with exposed deserialization functionality.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-126982 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-126982
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-126982 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-126982
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
A type allow-list bypass in the BSON serialization library of the MongoDB C# Driver allows a typ
Unverified legacy reference
URL: https://github.com/advisories/GHSA-vjj2-chwg-8r8c
github_advisory_database
-
Source reference
Unverified legacy reference
URL: https://jira.mongodb.org/browse/CSHARP-6160
Supplemental source
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.