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

Published Sep 24, 2026
·
Updated

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 Software

1 affected component
MongoDB MongoDB Compass

Event History

Sep 24, 2026
CVE Published
via MITRE·03:51 PM
Data Sourced
via MITRE·03:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this vulnerability?

An attacker needs privileges to create databases on a MongoDB server that the Compass user connects to. Exploitation also depends on the Compass user opening the embedded shell from the affected database's view.

2

What access does successful exploitation provide?

Attacker-controlled content can be evaluated as shell input within the Compass process. The resulting actions run with the privileges of that Compass process.

3

Is user interaction required?

Yes. The Compass user must open the embedded MongoDB shell for the database whose name contains the attacker-controlled content.

4

What version information is available for remediation?

The provided release reference points to MongoDB Compass v1.49.12. No affected-version range or explicit fixed-version statement is provided.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203