CVE-2026-113870
published high CVSS 4.0 · 8.6Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB | — | Compass1.7.0 to < 1.49.15 · Other versions: unaffected | Affected | Not stated | mongodb |
Description
MongoDB Compass improperly escapes certain BSON values when converting a stored view’s aggregation pipeline into editable source. When a user connects to a MongoDB deployment containing a specially crafted view and opens that view for editing, the values can cause arbitrary code to execute with the privileges of the user running Compass.
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.6 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | mongodb · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB | Compass | 1.7.0 to < 1.49.15 (affected · semver)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-116 CWE-116: Improper Encoding or Escaping of Output
References
1Provider assertions
2mongodb · cna
Improper Encoding of Server-Supplied JavaScript Values in MongoDB Compass BSON Parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 41bebb217963842403d0415ca94f99c6e63048f81789f908abd51398abd6eaa2
- Ingested
- 30 Oct 2026, 18:26:56 UTC
- Source record
- Official CVE record