---
id: CVE-2026-96750
title: >-
  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
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 Co…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: MongoDB
product: Compass
affected:
  - Compass >= 1.44.0 < 1.49.12
published: '2026-09-24'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T04:17:50.150'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-96750'
references:
  - url: 'https://github.com/mongodb-js/compass/releases/tag/v1.49.12'
    label: cna@mongodb.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-24T17:09:21.424105Z'
ingestedAt: '2026-09-24T16:47:15.845Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
