CVE-2026-14881: MongoDB Compass - Command Injection
- Cve: CVE-2026-14881
- Name: MongoDB Compass - Command Injection
- Description: When importing connections in Compass it is possible to override some connection options that are otherwise can't be changed via connection form. In particular it is possible to provide a custom browser open command for OIDC auth flow that is usually can be set only globally via Compass settings.
- Impact: Attackers can execute arbitrary commands via a custom browser open command during OIDC authentication, potentially leading to code execution.
- Remediation: Update to the latest version of MongoDB Compass.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: user_interaction
- Requirements: Attacker needs to import a crafted connection file
- Labels source: securitycontext
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00213
- Epss percentile: 0.11508
- Assignee: [email protected]
- Published at: 2026-07-22T20:16:48Z
- Age in days: 125
- Modified at: 2026-10-24T13:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-14881
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mongodb-js/compass/releases/tag/v1.49.7 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mongodb:compass | >= 1.38.0, < 1.49.7 | no | nvd | /v1/products/mongodb/compass |
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
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts