{"id":"CVE-2026-126839","published":"2026-11-12T23:58:16Z","modified":"2026-11-17T16:42:02Z","title":"Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization","vendor":"MongoDB","product":"C# Driver","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00181,"percentile":0.0783,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-6169","tags":[]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.57},{"name":"CVSS severity","points":2.94}]},"vendorSlug":"mongodb","affectedVersions":[{"vendor":"MongoDB","product":"C# Driver","versions":[">= 2.21.0, < 3.14.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-17T16:41:49.611289Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-124806","exploited":false,"provenance":"source"}}