NetSight
high8.7

CVE-2026-135226

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 docu…

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of data or systems being changed.

Affected products (MongoDB)

ProductAffected versions
Ruby Driver
from 4.8.0 before 5.2.1

Weakness classification

References