Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 83%

CVE-2026-8336: CWE-416: Use After Free in MongoDB, Inc. MongoDB Server

0
High
VulnerabilityCVE-2026-8336cvecve-2026-8336cwe-416
Published: 05/13/2026 (05/13/2026, 00:16:16 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB, Inc.
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:A/V:D/RE:M/U:Red

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo
pkg:github/mongodb/mongo
Affected versions
=8.2=8.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 18:31:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses