Arbitrary Code Execution Vulnerability in MongoDB Compass Software by MongoDB
CVE-2026-113870

8.6HIGH

Key Information:

Vendor

Mongodb

Status
Vendor
CVE Published:
21 October 2026

What is CVE-2026-113870?

MongoDB Compass contains a vulnerability where specific BSON values are not properly escaped when transforming a stored view’s aggregation pipeline into an editable format. This issue arises when a user connects to a MongoDB deployment with a specially crafted view. Upon opening this view for editing, these improperly handled values can trigger the execution of arbitrary code, operating under the permissions of the user running the MongoDB Compass application, leading to potential unauthorized actions within the environment.

Affected Version(s)

Compass 1.7.0 < 1.49.15

References

CVSS V4

Score:
8.6
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Hamza Amirache
Hanaa Bouhia
.