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

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 74.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12mongo-c-driverno fix listedDEBIAN-CVE-2026-120684
Debian:13mongo-c-driverno fix listedDEBIAN-CVE-2026-120684
Debian:14mongo-c-driverno fix listedDEBIAN-CVE-2026-120684
Ubuntu:26.04:LTSmongo-c-driverno fix listedUBUNTU-CVE-2026-120684
Ubuntu:26.10mongo-c-driverno fix listedUBUNTU-CVE-2026-120684

Affected products (as reported)

VendorProductVersions
MongoDB C Driver 1.25.0 – through 1.30.142.0.0 – through 2.5.7

Weakness: CWE-908 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References