CVE-2021-32039

MongoDB Extension for VS Code may unexpectedly store credentials locally in clear text

MEDIUM
5.5
CVSS Score
Published: January 20, 2022 at 02:50 PM UTC
Updated: June 17, 2026 at 03:52 AM UTC
2 products affected across 1 vendorMongoDBMongoDB for VS Code

Using MongoDB for VS Code by MongoDB Inc.?

Get instant alerts when new vulnerabilities affect MongoDB for VS Code - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

Users with appropriate file access may be able to access unencrypted user credentials saved by MongoDB Extension for VS Code in a binary file. These credentials may be used by malicious attackers to perform unauthorized actions. This vulnerability affects all MongoDB Extension for VS Code including and prior to version 0.7.0

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 0.7.0
MongoDB for VS Code ≤ v ≤ 0.7.0

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (2)

x_refsource_MISCRelease NotesThird Party Advisory
https://github.com/mongodb-js/vscode/releases/tag/v0.8.0
x_refsource_MISCIssue TrackingVendor Advisory
https://jira.mongodb.org/browse/VSCODE-313

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMmongodb
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-522

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card