{"id":"CVE-2026-126839","aliases":["CVE-2026-126839"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization allow-list bypass via anonymous-type misdetection in BSON object deserialization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-12T23:58:16.490Z","modified":"2026-11-17T17:18:00.937Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"semver","introduced":"2.21.0","fixed":"3.14.0","status":"affected"}],"vendor":"MongoDB","product":"C# Driver","source":"cvelist"}],"references":[{"url":"https://jira.mongodb.org/browse/CSHARP-6169","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-17T16:41:49.611Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126839","url":"https://www.cve.org/CVERecord?id=CVE-2026-126839","licence":"CVE Terms of Use","modified":"2026-11-17T16:42:02.835Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126839","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126839","licence":"Public domain","modified":"2026-11-17T17:18:00.937Z"}],"updatedAt":"2026-11-25T22:59:50.582Z","epss":{"score":0.00235,"percentile":0.15507,"date":"2026-12-01T12:00:22.000Z"}}