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
| Product | Versions | Fixed in |
|---|---|---|
| MongoDB Ruby Driver | >= 4.8.0, < 5.2.1 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://jira.mongodb.org/browse/RUBY-3936 — CVE Program
Weaknesses (CWE): CWE-843
Relevant change history
Published
Preliminary advisory published.