← Vulnerability feed

Vulnerability record · CVE-2021-20334 · published 6 April 2021

CVE-2021-20334: Mongodb compass improper privilege management vulnerability

Mongodb · Compass

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.

7.8 CVSS 3.1 High EPSS 0.20% · top 91.1% CWE-269 · Improper privilege management
7.8CVSS 3.1 base score, v2 4.6
0.20%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-20334 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-6376Mongodb compass improper input validation vulnerabilityMongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass'…EPSS 0.48%8.4CVE-2026-14881Mongodb compass os command injection vulnerabilityWhen importing connections in Compass it is possible to override some connection options that are otherwise can't be changed via connection form. In …EPSS 0.19%7.8CVE-2025-1755Mongodb compass untrusted search path vulnerabilityMongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling unauthorized actions on a user's syste…EPSS 0.15%6.8CVE-2024-3371Mongodb compass vulnerabilityMongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, …EPSS 0.23%5.3CVE-2026-9101Mongodb compass prototype pollution vulnerabilityPrototype pollution in csv parsing logic during import can lead to untrusted file paths (but not arguments) entering shell.openExternal after specifi…EPSS 0.45%9.9CVE-2026-84869ScreenConnect client allows unauthorized file transfer and execution in remote sessionsA flaw in the ConnectWise ScreenConnect client lets files be transferred and executed inside an active remote session without authorization or Host c…KEVEPSS 0.92%analysed9.8CVE-2026-46817Oracle E-Business Suite Payments missing authentication allows takeoverOracle Payments in Oracle E-Business Suite 12.2.3 through 12.2.15 contains an easily exploitable flaw in the File Transmission component. An unauthen…KEVEPSS 0.81%analysed7.8CVE-2026-21533Windows Remote Desktop improper privilege management allows local elevationWindows Remote Desktop contains an improper privilege management flaw (CWE-269) that lets an authorized attacker elevate privileges locally. It affec…KEVEPSS 4.1%analysed

Source: NIST National Vulnerability Database (record CVE-2021-20334), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.