Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 12, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 11, 2026
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.
| Product | Versions |
|---|---|
| C# Driver MongoDB | 2.21.0 to before 3.14.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | mongodb | |
| 3.1 | 4.2 Medium | mongodb |
Weaknesses
- CWE-502 Deserialization of Untrusted Data
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.