CVE-2026-96750: MongoDB Compass - Command Injection
- Cve: CVE-2026-96750
- Name: MongoDB Compass - Command Injection
- 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.
- Impact: Users with database creation privileges can execute arbitrary commands with Compass process privileges, potentially leading to full system compromise.
- Remediation: Update to the latest version of MongoDB Compass.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Compass user must open the shell for the affected database
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.0023
- Epss percentile: 0.13759
- Assignee: [email protected]
- Published at: 2026-09-24T16:17:27Z
- Age in days: 61
- Modified at: 2026-09-25T04:17:50Z
- References total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96750
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Hackerone
- Reports: 1
- Rank: 1631
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mongodb-js/compass/releases/tag/v1.49.12 | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mongodb-js/compass | releases | yes | /v1/repositories/mongodb-js/compass |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts