CVE-2026-126839 Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB C Driver | >= 2.21.0, < 3.14.0 | 3.14.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB C Driver | >= 2.21.0, < 3.14.0 | 3.14.0 |
References
- jira.mongodb.org
- ENISA EUVD EUVD-2026-124806 third-party-advisory