# CVE-2021-32039: MongoDB Extension for VS Code may unexpectedly store credentials locally in clear text

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

## Description

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

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.289%, percentile 23.053%, 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 for vs code: ≥ MongoDB for VS Code, ≤ 0.7.0
- mongodb mongodb: ≤ 0.7.0

## References

- <https://github.com/mongodb-js/vscode/releases/tag/v0.8.0>
- <https://jira.mongodb.org/browse/VSCODE-313>

---

Data as of 2026-12-05T05:18:47.790Z. 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
