CVE-2026-113870
HighCVSS 8.8Exploitation Probability (EPSS)
Low risk14th percentile - higher than 14% of all known CVEs
Summary
MongoDB Compass improperly escapes certain BSON values when converting a stored view's aggregation pipeline into editable source. When a user connects to a deployment containing a specially crafted view and opens it for editing, the values can cause arbitrary code execution with the privileges of the user running Compass.
Risk Assessment
Opening a malicious view in MongoDB Compass can lead to arbitrary code execution on an administrator's or developer's workstation, risking credential theft and further compromise of the environment.
Recommendation
Update MongoDB Compass to a patched version and exercise caution when opening views from untrusted deployments.
Other vulnerabilities in MongoDB Compass
See all- CVE-2026-115929Medium
MongoDB Compass relies on Electron, a third-party runtime that carries its own TLS root certificate store. This root certificate store contains recoverable eMudhra intermediate CA certificates. The issue is resolved by updating to Compass 1.53.1, which includes Electron 44.9.1.
- CVE-2026-96750High
MongoDB Compass can interpolate a database name without escaping into the initial input of its embedded MongoDB shell when a user opens the shell from that database's view. A user with privileges to create databases on a server that a Compass user connects to may, under specific conditions, have content evaluated as shell input within the Compass process, with that process's privileges.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

