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

Read the record on cve.org

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.

ProductVersions
C Driver MongoDB1.25.0 through 1.30.14 Affected2.0.0 through 2.5.7 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.