Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted Extended JSON to parser
-
ExploitTrigger type confusion in document framing
-
ExecutionValue content reinterpreted as extra/replacement fields
-
ImpactUnintended modification of stored data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application (1) accepts attacker-supplied input, (2) parses that untrusted input specifically as Extended JSON using the MongoDB BSON for Ruby component, and (3) stores the parsed result. These are the concrete prerequisites: an application that only handles trusted/internal Extended JSON, parses plain BSON, or does not persist the parsed document is not exploitable. Per the CVSS vector (PR:N/UI:N) no authentication or user interaction is needed, so where the above data-flow exists, an unauthenticated remote party can trigger it against default library behavior. Impact is limited to data integrity (field injection/replacement) - no confidentiality loss or service disruption. |
| Impact | This is a genuine but bounded integrity-only issue, not a theoretical high-CVSS inflation. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, score 8.7) indicates a network-reachable flaw requiring no authentication, no user interaction and low complexity, which legitimately drives a high base score. However, impact is confined to integrity: VI:H with VC:N and VA:N means no confidentiality loss and no availability/denial-of-service - the only consequence is unintended modification of stored data. This directly contradicts two of the input Tags ('Information Disclosure' and 'Memory Corruption'), both of which are inconsistent with VC:N/VA:N and with a logical type-confusion (CWE-843) in a Ruby Extended JSON parser. The vuln.today decision label is 'this_week' (not act_now or emergency), and no EPSS score, CISA KEV listing, or public exploit was provided - the sole reference is a MongoDB Jira tracking ticket (RUBY-3936), not proof-of-concept code. Net: prioritize for patching this week in environments that parse untrusted Extended JSON into a datastore, but this is an integrity/data-tampering risk, not a code-execution or data-theft emergency. EPSS and active-exploitation signals are absent and should not be assumed. |
| Exploit ScenarioDerived | An attacker submits crafted Extended JSON to an unauthenticated application endpoint that parses it with the MongoDB BSON for Ruby library and persists the result. Due to type confusion in how the parser frames the serialized document, content the attacker places inside one value is read back as additional or replacement document fields, letting the attacker tamper with stored records. No public exploit code was identified at time of analysis; only a vendor Jira issue is referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Type confusion in the Extended JSON parsing component of the MongoDB BSON for Ruby library lets an unauthenticated remote party influence how a serialized document is framed, so content supplied in one value can be read back as additional or replacement document fields. Applications that accept attacker-controlled input, parse it specifically as Extended JSON with this library, and then persist the parsed document are exposed to integrity-only impact - stored records can be silently altered, with no confidentiality loss or service disruption per the assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N). No public exploit code has been identified at time of analysis and the issue is not in CISA KEV; vendor tracking is via MongoDB JIRA RUBY-3936.
RemediationAI
No vendor-released patch version is identified in the available data; consult MongoDB JIRA RUBY-3936 (https://jira.mongodb.org/browse/RUBY-3936) for the fixed driver release and upgrade the bson gem as soon as that version is published, then re-serialize and re-validate any documents that were stored from untrusted Extended JSON input. Where an upgrade cannot be applied immediately, the highest-value compensating control is to stop passing untrusted data into the Extended JSON parser at all: accept plain JSON and perform explicit, type-checked field extraction into an allowlisted schema before persistence, at the cost of losing Extended JSON's native type round-tripping (ObjectId, dates, binary) and requiring application-side conversion code. If Extended JSON input must be accepted, parse it in an isolated context, validate the resulting document against a strict key allowlist and reject any unexpected or duplicate field names before writing to the datastore, accepting the trade-off that legitimate schema changes will require allowlist updates. Restricting who can reach the ingestion endpoint reduces exposure but is not sufficient on its own, because the assessed vector is PR:N/UI:N and no authentication or user interaction is required once a data flow into the parser exists.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Extended JSON is the human-readable JSON representation MongoDB uses to express typed BSON values (ObjectIds, dates, binary, numeric type wrappers and the like), and the BSON for Ruby library converts between that representation and native BSON documents. CWE-843 (Type Confusion) here means the parser can be induced to interpret a value as a different type than the one it was serialized as, so the decoded structure and the framing of the resulting document diverge from what the producer intended. Ruby's dynamic typing makes this class of bug particularly consequential for downstream persistence: once a value is materialised as a document fragment rather than a scalar, later field assignments can add or overwrite keys. The affected package is the MongoDB Ruby driver's BSON component (CPE cpe:2.3:a:mongodb:ruby_driver:*:*:*:*:*:*:*:*), and the vendor reference at https://jira.mongodb.org/browse/RUBY-3936 is the authoritative source for which driver releases carry the fix. The trigger is not described in the available sources beyond the Extended JSON parsing path; the CVSS metrics describe severity (AC:L, PR:N, UI:N) and should not be read as describing a race, timing or memory-corruption mechanism, despite the 'Memory Corruption' tag in the intelligence feed - the assessed impact is data integrity only.
Know when MongoDB gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable untrusted-input parsing with no auth or interaction (AV:N/AC:L/PR:N/UI:N); impact is tampering with stored data only, so I:H with C:N/A:N and unchanged scope.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
CVE-2026-135226 is a high-severity type confusion vulnerability in the MongoDB BSON for Ruby library's Extended JSON parsing component. It allows unauthenticated remote attackers to alter stored documents when applications parse attacker-controlled input as Extended JSON and persist the result, compromising data integrity. Leadership should care because this could silently corrupt critical records, leading to financial and reputational damage.
No vendor-released patch identified at time of analysis; interim mitigations include validating and sanitizing Extended JSON input before parsing, restricting access to affected endpoints, and monitoring vendor advisory for updates.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
EUVD-2026-135617
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB