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

- Severity: Medium 6.0 (CVSS:4.0, scored by mongodb) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA: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.32%, higher than 27% of CVEs (2026-12-01)
- Published: 2026-11-03T18:40:42.288Z
- Modified: 2026-11-03T21:17:04.137Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

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

(As written by CVE List.)

## Affected

- MongoDB C Driver: from 1.25.0 up to 1.30.14; from 2.0.0 up to 2.5.7

## Every score

- mongodb: CVSS:4.0 6.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- mongodb: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://jira.mongodb.org/browse/CDRIVER-6508>

## Sources

- CVE List: [CVE-2026-120684](https://www.cve.org/CVERecord?id=CVE-2026-120684), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-120684](https://nvd.nist.gov/vuln/detail/CVE-2026-120684), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-120684 · Whole record: https://cve.day/CVE-2026-120684.json · Rebuilt by cve.day 2026-11-25T22:59:48.582Z
