CVE-2026-8336 in Mongodb
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, ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Mongodb | ≥ 8.2.0, < 8.2.9 ≥ 8.3.0, < 8.3.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-8336 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-155110-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Published | 2026-05-13 |
| Last modified | 2026-10-26 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
CVE-2026-8336 is a vulnerability in MongoDB that allows an authenticated user to crash the mongod server by invoking $_internalJsEmit or the mapreduce command's map function in a specific manner, leading to a denial-of-service condition.
The attack vector involves an authenticated user exploiting the $_internalJsEmit function or the mapreduce command's map function in MongoDB. The vulnerability is triggered when the server-side JavaScript engine is used in conjunction with $where, $function, or the mapreduce reduce stage in a specific way.
Questions
What is CVE-2026-8336?
CVE-2026-8336 is a vulnerability in MongoDB that allows an authenticated user to crash the mongod server by invoking $_internalJsEmit or the mapreduce command's map function in a specific manner, leading to a denial-of-service condition.
What is the CVSS score for CVE-2026-8336?
CVE-2026-8336 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.5%.
Is CVE-2026-8336 actively exploited?
No confirmed active exploitation of CVE-2026-8336 as of 2026-11-03.
How do I remediate CVE-2026-8336?
Priority: HIGH. Advisory: https://jira.mongodb.org/browse/SERVER-121610 PSIRT: [email protected]
What systems are affected by CVE-2026-8336?
CVE-2026-8336 affects Mongodb Mongodb.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongodb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.