Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-113870
Published:October 21, 2026
Updated:November 04, 2026
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.
Affected Packages
https://github.com/mongodb-js/devtools-shared.git (GITHUB):
Affected version(s) >=mongodb-query-parser@4.0.2 <mongodb-query-parser@5.0.1 || =mongodb-query-parser@5.0.0 <mongodb-query-parser@5.0.1
Fix Suggestion:
Update to version mongodb-query-parser@5.0.1
mongodb-query-parser (NPM):
Affected version(s) >=3.1.0 <5.0.1 || >=4.0.0 <5.0.1 || =5.0.0 <5.0.1 || >=0.0.1 <5.0.1 || >=2.0.0 <5.0.1 || >=1.0.0 <5.0.1
Fix Suggestion:
Update to version 5.0.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Encoding or Escaping of Output
EPSS
Base Score:
0.24