Vulnerability · Published Nov 3, 2026 · Assigned by mongodb
CVE-2026-120684MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
Medium 6.5
In plain English
A medium-severity security flaw in C Driver from MongoDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mongo-c-driver | no fix listed | DEBIAN-CVE-2026-120684 |
| Debian:13 | mongo-c-driver | no fix listed | DEBIAN-CVE-2026-120684 |
| Debian:14 | mongo-c-driver | no fix listed | DEBIAN-CVE-2026-120684 |
| Ubuntu:26.04:LTS | mongo-c-driver | no fix listed | UBUNTU-CVE-2026-120684 |
| Ubuntu:26.10 | mongo-c-driver | no fix listed | UBUNTU-CVE-2026-120684 |
Affected products (as reported)
Weakness: CWE-908 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N