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

- Severity: High 7.7 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-11-13T00:00:12.446Z
- Modified: 2026-11-17T05:18:35.767Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB C# Driver: from 3.2.0 before 3.14.0

## Every score

- mongodb: CVSS:4.0 7.7 High `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://jira.mongodb.org/browse/CSHARP-6160>

## Sources

- CVE List: [CVE-2026-126982](https://www.cve.org/CVERecord?id=CVE-2026-126982), CVE Terms of Use, modified 2026-11-17
- NVD: [CVE-2026-126982](https://nvd.nist.gov/vuln/detail/CVE-2026-126982), Public domain, modified 2026-11-17

---

Page: https://cve.day/CVE-2026-126982 · Whole record: https://cve.day/CVE-2026-126982.json · Rebuilt by cve.day 2026-11-25T22:59:50.582Z
