# CVE-2026-126839: Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization

- Severity: Low 2.3 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/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.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-11-12T23:58:16.490Z
- Modified: 2026-11-17T17:18:00.937Z
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB C# Driver: from 2.21.0 before 3.14.0

## Every score

- mongodb: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L`

## References

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

## Sources

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

---

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