Skip to content

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

HighCVSS 7.3 EPSS 0.23%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Compass >= 1.44.0, < 1.49.12 1.49.12 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Compass >= 1.44.0, < 1.49.12 1.49.12

References