What’s Vulnerable › Vulnerabilities
CVE-2026-96750: Shell script injection via server-supplied database name in Open MongoDB shell
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-24 · updated 2026-09-25
- Weakness: CWE-94
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.
Affected products
- MongoDB Compass: from 1.44.0 before 1.49.12 — fixed in 1.49.12
How to fix
Upgrade to a fixed version: MongoDB Compass 1.49.12. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-96750 or the next vulnerability affects your stack