Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-135226

CVE-2026-135226: Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing

MongoDB Ruby Driver

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-135226: high-severity vulnerability (CVSS 8.7) in MongoDB Ruby Driver.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

MongoDB Ruby Driver >= 4.8.0, < 5.2.1

ProductVersionsFixed in
MongoDB Ruby Driver>= 4.8.0, < 5.2.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-843

Relevant change history

  1. Published

    Preliminary advisory published.