---
title: "CVE-2021-20334: MongoDB Inc. MongoDB Compass Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2021-20334: MongoDB Inc. MongoDB Compass Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2021-20334 is a published software vulnerability affecting MongoDB Inc. MongoDB Compass. CVSS base score: 4.8 (MEDIUM). Published April 6, 2021 by mongodb. 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.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2021-20334
- Status: Published
- Affected vendor: MongoDB Inc.
- Affected product: MongoDB Compass
- Assigner CNA: mongodb
- Published date: April 6, 2021
- Last updated: September 17, 2024
- CVSS base score: 4.8 (MEDIUM)
- CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- Weakness (CWE): CWE-269 Improper Privilege Management

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Agricultural cooperatives in the United States](https://specstream.ai/data/businesses/agricultural-cooperatives/united-states)
- [Liquor stores in the United States](https://specstream.ai/data/businesses/liquor-stores/united-states)
- [Belgian restaurants in the United States](https://specstream.ai/data/businesses/belgian-restaurants/united-states)
- [Paving contractors in the United States](https://specstream.ai/data/businesses/paving-contractors/united-states)
- [Cosmetic surgery practices in the United States](https://specstream.ai/data/businesses/cosmetic-surgery-practices/united-states)
- [Scale suppliers in the United States](https://specstream.ai/data/businesses/scale-suppliers/united-states)
