MongoDB C Driver GridFS gap lets a shared writer recover a protected client's password
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| C Driver MongoDB | 1.25.0 through 1.30.14 Affected2.0.0 through 2.5.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | mongodb | |
| 3.1 | 6.5 Medium | mongodb |
Weaknesses
- CWE-908 Use of Uninitialized Resource
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.