CVE-2026-135226: MongoDB Ruby Driver · Type Confusion
Affects MongoDB Ruby DriverSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 5.2.1 soon.
Data as of 25 Nov 2026, 17:51 UTC
Thin evidence
One scorer or none| CNA (mongodb) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (mongodb) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 5.2.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade MongoDB Ruby Driver to 5.2.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBRuby Driver | Affected
| Fixed in
|
AI-suggested
Upgrade the MongoDB Ruby Driver to version 5.2.1 or later, where this type confusion vulnerability is fixed. No other mitigation or temporary workaround is indicated by the vendor advisory. Applying this official fix fully addresses the issue.
Description
CVE-2026-135226 is a high-severity type confusion vulnerability in the Extended JSON parsing component of the MongoDB Ruby Driver's BSON library. It allows an unauthenticated attacker who can supply parser input to influence how serialized documents are framed, potentially causing unintended modification of stored data by reading content as additional or replacement document fields. This affects versions from 4.8.0 up to but not including 5.2.1. The issue is fixed in version 5.2.1.