CVE-2026-8336: CWE-416: Use After Free in MongoDB, Inc. MongoDB Server
After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service. This issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-8336) is a use-after-free (CWE-416) issue in MongoDB Server affecting versions 8.2 before 8.2.9 and 8.3 before 8.3.2. It arises after invoking the internal $_internalJsEmit function or the mapreduce command's map function in unintended ways. An authenticated user can trigger a crash of the mongod process by subsequently using the server-side JavaScript engine features ($where, $function, mapreduce reduce stage) in a specific manner. This leads to a denial-of-service condition post-authentication. The CVSS 4.0 vector indicates network attack vector, high complexity, partial privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported, and no official patch or remediation guidance is currently documented.
Potential Impact
The impact of this vulnerability is a post-authentication denial-of-service against MongoDB Server instances running affected versions. An authenticated attacker can cause the mongod process to crash, resulting in service disruption. There is no indication of remote code execution or data compromise from the provided data. The vulnerability affects confidentiality, integrity, and availability to a high degree according to the CVSS vector, but the primary confirmed impact is denial-of-service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the available data, users should monitor MongoDB, Inc. advisories for updates. Until a fix is available, restrict access to authenticated users and avoid using the affected server-side JavaScript features in ways that could trigger the vulnerability if possible.
CVE-2026-8336: CWE-416: Use After Free in MongoDB, Inc. MongoDB Server
Description
After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service. This issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.
CVSS v4.0
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-8336) is a use-after-free (CWE-416) issue in MongoDB Server affecting versions 8.2 before 8.2.9 and 8.3 before 8.3.2. It arises after invoking the internal $_internalJsEmit function or the mapreduce command's map function in unintended ways. An authenticated user can trigger a crash of the mongod process by subsequently using the server-side JavaScript engine features ($where, $function, mapreduce reduce stage) in a specific manner. This leads to a denial-of-service condition post-authentication. The CVSS 4.0 vector indicates network attack vector, high complexity, partial privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. No known exploits in the wild have been reported, and no official patch or remediation guidance is currently documented.
Potential Impact
The impact of this vulnerability is a post-authentication denial-of-service against MongoDB Server instances running affected versions. An authenticated attacker can cause the mongod process to crash, resulting in service disruption. There is no indication of remote code execution or data compromise from the provided data. The vulnerability affects confidentiality, integrity, and availability to a high degree according to the CVSS vector, but the primary confirmed impact is denial-of-service.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official patch or remediation level is provided in the available data, users should monitor MongoDB, Inc. advisories for updates. Until a fix is available, restrict access to authenticated users and avoid using the affected server-side JavaScript features in ways that could trigger the vulnerability if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-05-11T15:37:59.492Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a03c40bcbff5d8610358781
Added to database: 05/13/2026, 00:21:31 UTC
Last enriched: 05/20/2026, 18:31:16 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 191
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.