CVE-2026-135226
published high CVSS 4.0 · 8.7Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Ruby Driver4.8.0 to < 5.2.1 · Other versions: unaffected | Affected | Not stated | mongodb |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Ruby Driver | 4.8.0 to < 5.2.1 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-843 CWE-843: Access of Resource Using Incompatible Type ('Type Confusion')
References
1Provider assertions
2mongodb · cna
Type confusion in DBPointer handling in BSON Ruby Extended JSON parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a18f52e1b00367dd79385cfb71d3aa03bdfec036b87590a4a40b6255934c25c0
- Ingested
- 25 Nov 2026, 19:22:23 UTC
- Source record
- Official CVE record