# CVE-2026-96750: Shell script injection via server-supplied database name in Open MongoDB shell

CVE-2026-96750 is fixed in 3 products on 1 platform, first by MongoDB Compass 1.49.12.0, released July 14, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-96750
- Priority: High
- CVSS: 7.3
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 24, 2026
- Weakness: CWE-94: Improper Control of Generation of Code ('Code Injection')
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-96750

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | MongoDB Compass | 1.49.12.0 | [MongoDB Compass 1.49.12.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.full-1.49.12.0.md) | Jul 14, 2026 |
| Windows apps | MongoDB Compass Isolated Edition | 1.49.12.0 | [MongoDB Compass Isolated Edition 1.49.12.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.isolated-1.49.12.0.md) | Jul 14, 2026 |
| Windows apps | MongoDB Compass Readonly | 1.49.12.0 | [MongoDB Compass Readonly 1.49.12.0](https://patchblox.com/security/data/fix/windows-app/mongodb.compass.readonly-1.49.12.0.md) | Jul 14, 2026 |

---

Data as of 2026-11-09T07:25:28Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
