CVE-2026-120684
MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.0
MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
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.
- Record
CVE-2026-120684- 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 - 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 - Weakness
- CWE-908
- Updated
- 2026-11-03
EUVDEUVD-2026-116134
6.0
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.
- Record
EUVD-2026-116134- 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 - Updated
- 2026-11-03
NVD
6.0
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.
- Record
CVE-2026-120684- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - 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 - Weakness
- CWE-908
- Updated
- 2026-11-04
OSVDEBIAN-CVE-2026-120684
6.0
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.
- Record
DEBIAN-CVE-2026-120684- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-04
OSVUBUNTU-CVE-2026-120684
6.0
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.
- Record
UBUNTU-CVE-2026-120684- 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 - 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 - Updated
- 2026-11-05
OSVopenSUSE-SU-2026:12437-1 No score
bson-devel-2.5.8-1.1 on GA media
These are all security issues fixed in the bson-devel-2.5.8-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:12437-1- Updated
- 2026-11-06
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mongo-c-driverDebian:12 |
All versions, plus listed versions 1.23.1-11.23.1-1+deb12u11.23.1-1+deb12u21.23.1-1+deb12u31.24.1-1 Show 45 moreShow less1.24.2-11.24.3-11.24.4-11.25.0-11.25.1-11.25.2-11.25.4-11.25.4-1.1~exp11.26.0-11.26.0-1.11.26.0-1.1~exp11.26.1-11.26.2-11.27.0-11.27.1-11.27.2-11.27.3-11.27.4-11.27.5-11.27.6-11.28.0-11.28.1-11.29.0-11.29.1-11.29.2-11.30.0-11.30.1-11.30.2-11.30.3-11.30.4-12.0.2-12.1.0-12.1.1-12.1.2-12.2.0-12.2.1-12.2.2-12.2.3-12.2.4-12.3.0-12.3.1-12.3.2-12.3.3-12.4.0-12.5.0-1 |
None known |
mongo-c-driverDebian:13 |
All versions, plus listed versions 1.30.4-11.30.4-1+deb13u11.30.4-1+deb13u21.30.4-1+deb13u32.0.2-1 Show 21 moreShow less2.1.0-12.1.1-12.1.2-12.2.0-12.2.1-12.2.2-12.2.3-12.2.4-12.3.0-12.3.1-12.3.2-12.3.3-12.4.0-12.5.0-12.5.1-12.5.2-12.5.3-12.5.5-12.5.6-12.5.7-12.5.8-1 |
None known |
mongo-c-driverDebian:14 |
All versions, plus listed versions 1.30.4-12.0.2-12.1.0-12.1.1-12.1.2-1 Show 18 moreShow less2.2.0-12.2.1-12.2.2-12.2.3-12.2.4-12.3.0-12.3.1-12.3.2-12.3.3-12.4.0-12.5.0-12.5.1-12.5.2-12.5.3-12.5.5-12.5.6-12.5.7-12.5.8-1 |
None known |
mongo-c-driverUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 1.15.0-11.15.1-11.15.2-11.16.0-11.16.1-11.16.1-1build11.16.1-1build21.16.1-1ubuntu0.1~esm1 |
None known |
mongo-c-driverUbuntu:Pro:22.04:LTS |
All versions, plus listed versions 1.18.0-11.19.1-11.19.2-11.20.0-11.20.0-1build1 Show 4 moreShow less1.20.1-11.21.0-11.21.0-1build11.21.0-1ubuntu0.1~esm1 |
None known |
mongo-c-driverUbuntu:Pro:24.04:LTS |
All versions, plus listed versions 1.24.3-11.24.4-11.25.1-11.25.2-11.25.4-1 Show 4 moreShow less1.26.0-11.26.0-1.1ubuntu11.26.0-1.1ubuntu21.26.0-1.1ubuntu2+esm1 |
None known |
mongo-c-driverUbuntu:26.10 |
All versions, plus listed versions 2.2.2-12.3.1-12.3.2-12.3.3-1build12.5.0-1 |
None known |
mongo-c-driverUbuntu:26.04:LTS |
All versions, plus listed versions 1.30.4-1ubuntu12.2.0-12.2.1-12.2.2-1 |
None known |
mongo-c-driveropenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 2.5.8-1.1 | 2.5.8-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, references | OSV | |
| affected, aliases, references | OSV | |
| affected, aliases, references | CVE List, EUVD, NVD, OSV | |
| title | CVE List | |
| aliases, products, published | EUVD | |
| first indexed | CVE List |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-120684 is a medium vulnerability (CVSS 6.0) in Mongodb C Driver, published November 3, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.32%, the 25th percentile. No source names a fixed version.
References
jira.mongodb.org/browse/CDRIVER-6508
security-tracker.debian.org/tracker/CVE-2026-120684
ubuntu.com/security/CVE-2026-120684
cve.org/CVERecord?id=CVE-2026-120684
suse.com/security/cve/CVE-2026-120678
suse.com/security/cve/CVE-2026-120684
suse.com/security/cve/CVE-2026-120954
suse.com/security/cve/CVE-2026-120955
suse.com/security/cve/CVE-2026-120956
Left out here: 7 versions. The JSON record has them.