CVE-2026-96750
HighCVSS 7.1Exploitation Probability (EPSS)
Low risk7th percentile - higher than 7% of all known CVEs
Summary
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.
Risk Assessment
The risk includes execution of malicious code within the Compass process, potentially leading to unauthorized data access or system compromise.
Recommendation
Upgrade MongoDB Compass to the latest version that fixes this vulnerability, and exercise caution when opening the shell for databases from untrusted sources.
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-113870High
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.
Original NVD description (English source)
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. This requires the Compass user to open the shell for the affected database.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

