High severity · published Apr 6, 2021
CVE-2021-20334
A malicious 3rd party with local access to the Windows machine where MongoDB Compass is installed can execute arbitrary software with the privileges of the user who is running…
7.8
CVSS
0.4%
EPSS
No
On KEV
Description
A malicious 3rd party with local access to the Windows machine where MongoDB Compass is installed can execute arbitrary software with the privileges of the user who is running MongoDB Compass. This issue affects: MongoDB Inc. MongoDB Compass 1.x version 1.3.0 on Windows and later versions; 1.x versions prior to 1.25.0 on Windows.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CO
Compass · Mongodb
1.3.0 before 1.25.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-20334
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-20334
Vendor Advisory
https://jira.mongodb.org/browse/COMPASS-4510
More from Compass
9.8
CVE-2024-6376
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling
7.8
CVE-2026-14881
Compass connection import allows to override OIDC browser open command (usually set through settings), allowing for arbitrary shell commands execution when connecting to cluster using OIDC auth flow
7.8
CVE-2025-1755
MongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's system with elevated privileges,…
6.8
CVE-2024-3371
MongoDB Compass may accept and use insufficiently validated input from an untrusted external source
4.3
CVE-2026-9101
Prototype pollution in csv parsing
