CVE-2026-126839

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

  • Medium 4.2

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.

Key facts

Published
12 Nov 2026
Last changed
12 Nov 2026
Assigned by
mongodb
EPSS
0.181% likely to be exploited in the next 30 days, higher than 7.715% of CVEs (scores for 15 Nov 2026)

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 2.3CVSS 4.0, Lowfrom the CNA (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
  • 4.2CVSS 3.1, Mediumfrom the CNA (mongodb)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
MongoDBC# Driver
  • Default status: unaffected
  • 2.21.0 up to but excluding 3.14.0 (affected)

Timeline

  1. 12 Nov 2026 Published

Weakness

References