CVE-2026-126839
JSON

2.3low

Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization

Severity
2.3low CVSS:4.0 by mongodb
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
MongoDB C# Driverfrom 2.21.0 before 3.14.0CVE List

All scores

mongodb2.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
mongodb4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-502

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-126839 changed 2026-11-17CVE Terms of Use
NVDCVE-2026-126839 changed 2026-11-17Public domain