# CVE-2026-120684: MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password

> CVE-2026-120684: MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password. CVSS 6.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-120684
Last updated: 2026-11-03T21:17:04Z

- Published: 2026-11-03 18:40 UTC · Updated: 2026-11-03 21:17 UTC · Assigner: mongodb
- CVSS: 6.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.32%, 25th percentile (scored 2026-11-04)
- CISA KEV: no
- CWE: CWE-908

## Description

A memory-initialization flaw in the legacy GridFS file handling of the MongoDB C Driver can cause uninitialized process memory to be treated as valid file content and stored on the server. A database user holding ordinary write access to a shared storage area can arrange conditions under which an application later appends to such a file and writes that memory into records the same user is permitted to read, which may result in unintended disclosure of sensitive information from the application's process, including credentials.

## Affected vendors and products

- MongoDB: C Driver

## Tracked companies

- [MongoDB Atlas](https://rewindex.com/company/mongodb-atlas.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-120684)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-120684)
- [https://jira.mongodb.org/browse/CDRIVER-6508](https://jira.mongodb.org/browse/CDRIVER-6508)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-120684 · Markdown: https://rewindex.com/cve/CVE-2026-120684.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-120684 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-11-05T15:28:17.151Z
