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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-06 · Modified: 2024-09-17
- Record: https://cvemate.com/vulnerability/CVE-2021-20334 · JSON: https://cvemate.com/vulnerability/CVE-2021-20334/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, NVD) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.358%, percentile 31.518%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- mongodb inc mongodb compass: ≥ 1.3.0, \< 1.x\*
- mongodb compass: ≥ 1.3.0, \< 1.25.0

## References

- <https://jira.mongodb.org/browse/COMPASS-4510>

---

Data as of 2026-12-05T04:44:09.729Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
