
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-4147 is an uninitialized stack 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 7.0.0–7.0.30, 8.0.0–8.0.19, 8.2.0–8.2.5, and 8.3.0 alpha/rc pre-release builds. The vulnerability was published on March 17, 2026, and patches were made available shortly after. It carries a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 7.1 (High) (Red Hat Advisory, MongoDB Jira).
The root cause is classified under CWE-457 (Use of Uninitialized Variable) and CWE-908 (Use of Uninitialized Resource). When a specially-crafted filemd5 command is issued, the MongoDB server processes the request without properly initializing certain stack memory regions, allowing portions of that memory to be returned to the caller. Exploitation requires only network access and a valid account with the read role — no elevated privileges, user interaction, or complex conditions are needed (MongoDB Jira, Red Hat Advisory).
Successful exploitation could expose sensitive data residing in uninitialized stack memory, potentially including encryption keys, credentials, or other confidential information processed by the MongoDB server. The confidentiality impact is rated High under CVSS v4.0, with no integrity or availability impact. While the amount of memory disclosed per request is limited, repeated exploitation could allow an attacker to accumulate meaningful sensitive data over time (Red Hat Advisory, IBM Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (MongoDB Jira). The EPSS score is approximately 0.031%, reflecting a low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
read role on any database — this could be through credential theft, phishing, or use of a low-privilege account.filemd5 command designed to trigger the uninitialized stack memory read path in the server.filemd5 command invocations in MongoDB audit logs, particularly from accounts that do not normally use this command; commands issued with atypical or malformed parameters.filemd5 operation.MongoDB has released patched versions addressing this vulnerability: 7.0.31 for the 7.0.x branch, 8.0.20 for the 8.0.x branch, and 8.2.6 for the 8.2.x branch; users on 8.3.0 alpha/rc builds should upgrade to updated releases (MongoDB Jira). As interim mitigations, restrict the read role to only trusted and necessary users, apply network segmentation to limit exposure of MongoDB services, and monitor audit logs for unusual filemd5 command usage. IBM Cloud Pak for AIOps users should refer to the IBM advisory for product-specific guidance (IBM Advisory).
Red Hat has published a security advisory tracking this CVE for its products (Red Hat Advisory). IBM issued an advisory covering the impact on IBM Cloud Pak for AIOps (IBM Advisory). Splunk also published an advisory referencing this vulnerability (Splunk Advisory). No notable independent researcher commentary or significant social media discussion has been identified.
Fix availability across major Linux distributions and their releases.
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."