CVE-2026-120684
6.0medium
MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
- Severity
- 6.0medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB C Driver | from 1.25.0 up to 1.30.14, from 2.0.0 up to 2.5.7 | CVE List |
All scores
| mongodb | 6.0medium CVSS:4.0 | 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 | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-120684 changed 2026-11-03 | CVE Terms of Use |
| NVD | CVE-2026-120684 changed 2026-11-03 | Public domain |