MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
cve-program · CVE-2026-120684
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-120684 · CVE overview and exploitation status
cve-program · CVE-2026-120684
Related changes
Linked by CVE identifier- MongoDB C Driver 2.5.5 GridFS gap lets arotected client's password · Newly collected advisory · 3 Nov 2026
- MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password · Advisory content revised · 3 Nov 2026