CVE-2026-135226: Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing
A type-confusion weakness in the Extended JSON parsing component of BSON for Ruby allows a party who can supply parser input to influence how a serialized document is framed. Content placed in one value may be read back as additional or replacement document fields. An unauthenticated party supplying input to an application that parses untrusted Extended JSON and stores the result may cause unintended modification of stored data.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using the BSON Ruby Extended JSON parser are exposed when they accept untrusted Extended JSON input and store the parsed result. The issue can allow attacker-controlled content in one value to be interpreted as additional or replacement document fields.
Does exploitation require authentication or user interaction?
No. The vulnerability is described as exploitable by an unauthenticated party that can supply parser input, and it does not require user interaction.
What capability does an attacker need to exploit it?
An attacker needs to provide Extended JSON input to an application that parses that input with BSON for Ruby. The described impact applies when the application stores the resulting parsed document.