CVE-2026-135226: MongoDB Ruby Driver

High severity, CVSS 7.5. EPSS: 0.5% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • MongoDB Ruby Driver, from 4.8.0, before 5.2.1: fixed in 5.2.1

Affected products

Published 2026-11-25. Last modified 2026-11-25.