CVE-2026-126839 · Package
NO FIX YET
The BSON serialization component's type-restriction check identifies compiler-generated types with an overly loose heuristic, so it can be bypassed. An attacker who can supply BSON that the application deserializes into a loosely typed member can get types outside the allow-list constructed and populated with attacker-chosen values, causing unexpected state and downstream errors.
first public Nov 13, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that deserialize untrusted BSON into loosely typed members with a type restriction in place are the ones at risk. Systems that only handle BSON from trusted sources, or that do not deserialize into loosely typed members, are less exposed. The sources do not name the affected package or versions.
Not affected if no-loosely-typed-deserialization, trusted-input-only
Who cares bson, deserialization
Unknown from the sources.
No fix yet, per the sources.
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.
This page as .md · .json · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.