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

- Severity: Medium 5.5 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2022-01-20T14:50:10.319Z
- Modified: 2026-09-08T08:48:14.069Z
- Also known as: BIT-MONGODB-2021-32039
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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

(As written by CVE List.)

## Affected

- MongoDB Inc. MongoDB for VS Code: from MongoDB for VS Code up to 0.7.0
- mongodb mongodb: -; up to 0.7.0
- mongodb (Bitnami): before 0.7.1

## Every score

- mongodb: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/mongodb-js/vscode/releases/tag/v0.8.0> (advisory, release-notes, third-party-advisory)
- <https://jira.mongodb.org/browse/VSCODE-313> (advisory, issue-tracking, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32039> (web)

## Sources

- CVE List: [CVE-2021-32039](https://www.cve.org/CVERecord?id=CVE-2021-32039), CVE Terms of Use, modified 2024-09-17
- NVD: [CVE-2021-32039](https://nvd.nist.gov/vuln/detail/CVE-2021-32039), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2021-32039](https://osv.dev/vulnerability/BIT-MONGODB-2021-32039), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-32039 · Whole record: https://cve.day/CVE-2021-32039.json · Rebuilt by cve.day 2026-11-25T22:58:06.595Z
