
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-9754 is a memory disclosure vulnerability in MongoDB Server that allows an authenticated user with the read role to read limited amounts of uninitialized stack memory via specially-crafted issuances of the filemd5 command. It affects MongoDB versions 8.2.0 through 8.2.9 and 8.3.0 through 8.3.2. The vulnerability was published on June 9, 2026, with a patch advisory added to the GitHub Advisory Database on June 10, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 7.1 (High) (GitHub Advisory, MongoDB Jira).
The root cause is classified as CWE-457 (Use of Uninitialized Variable): the filemd5 command handler does not properly initialize stack memory before use, allowing portions of that memory to be returned to the caller. An authenticated attacker with only the read role can exploit this remotely by issuing specially-crafted filemd5 commands over the network, requiring no user interaction and no elevated privileges beyond a basic read account. No public proof-of-concept code or detailed technical write-up has been identified at this time (GitHub Advisory, MongoDB Jira).
Successful exploitation results in a high confidentiality impact, as uninitialized stack memory contents — which may include sensitive data such as cryptographic material, credentials, or internal application state — can be disclosed to the attacker. There is no integrity or availability impact. The vulnerability is exploitable over the network by any authenticated user holding the read role, making it a risk in multi-tenant or shared MongoDB deployments where read access is broadly granted (GitHub Advisory).
mongosh, mongo, or a driver) to authenticate to the vulnerable server running MongoDB 8.2.0–8.2.9 or 8.3.0–8.3.2.filemd5 command: Send a malformed or specially-crafted filemd5 command to the server. The filemd5 command is used to compute the MD5 hash of a file stored in GridFS; crafting it in a specific way triggers the uninitialized stack memory read.filemd5 command invocations from a single authenticated user or connection, particularly with unusual or malformed parameters.filemd5 requests originating from a single client IP, especially if the client does not normally interact with GridFS operations.filemd5 commands against databases or collections where GridFS is not normally used by that account.MongoDB has released patched versions addressing this vulnerability: upgrade to MongoDB 8.2.10 or later for the 8.2.x branch, or MongoDB 8.3.3 or later for the 8.3.x branch (MongoDB Jira, GitHub Advisory). As a workaround prior to patching, restrict access to the filemd5 command to only explicitly authorized users and audit existing read-role assignments to minimize the number of accounts that could exploit this issue. Monitor MongoDB logs for anomalous filemd5 command usage patterns.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."