Skip to main content
← All vulnerabilities
CVE-2026-96750

Shell script injection via server-supplied database name in Open MongoDB shell

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.49.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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. This requires the Compass user to open the shell for the affected database.

Timeline

  1. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  2. CVE published
  3. Record last updated

Affected versions

  • MongoDB Compass

    From 1.44.0 · fixed in 1.49.12

References 1

GitHub · mongodb-js/compass