LiveActive security incident?Get immediate response
CVE Record

CVE-2021-20334: Local privilege escalation in MongoDB Compass for Windows

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.

MediumCVSS 4.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

MongoDB Compass on Windows had a local privilege issue where someone already on the machine could cause software to run as the user operating Compass. This is not a remote internet attack, but it can matter on shared workstations, developer laptops, and admin systems where Compass is installed.

Executive priority

Treat this as a moderate endpoint hardening issue, not an emergency remote breach risk. Patch or remove vulnerable Compass installations, especially on developer and administrator machines.

Technical view

CVE-2021-20334 affects MongoDB Compass 1.x on Windows from 1.3.0 through versions prior to 1.25.0. The flaw is classified as CWE-269 and has CVSS 3.1 score 4.8: local access, low complexity, low privileges, and required user interaction, with limited confidentiality, integrity, and availability impact.

Likely exposure

Exposure is limited to Windows hosts running vulnerable MongoDB Compass versions. Highest concern is developer or operations endpoints where local users, malware, or compromised accounts could interact with Compass while it is running.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation evidence. Exploitation requires local access, some privileges, and user interaction, which lowers broad business urgency but still supports cleanup during endpoint hygiene cycles.

Researcher notes

The public data identifies product, platform, version boundary, CVSS, and CWE, but gives limited operational detail. Do not assume affected non-Windows builds, later major versions, or active exploitation without additional vendor evidence.

Mitigation direction

  • Upgrade MongoDB Compass for Windows to 1.25.0 or later.
  • Remove MongoDB Compass from Windows systems that do not need it.
  • Review MongoDB vendor guidance and the linked Jira issue.
  • Limit local user access on developer and operations endpoints.
  • Prioritize systems where Compass runs under privileged user accounts.

Validation and detection

  • Inventory Windows endpoints for installed MongoDB Compass versions.
  • Flag Compass 1.x versions from 1.3.0 through before 1.25.0.
  • Confirm whether vulnerable hosts are shared or high-privilege workstations.
  • Check endpoint management records for completed upgrades or removals.
  • Document exceptions where upgrades are delayed.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-269: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-20334 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.8CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L1.33.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.8Medium
CVSS 3.1 vector shape for CVE-2021-20334Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
MongoDB Inc.MongoDB Compass1.3.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-269 · source CWE mapping

Improper Privilege Management

Improper Privilege Management represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.