Skip to main content
← All vulnerabilities
CVE-2026-8336

Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.9, 8.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • MongoDB, Inc. MongoDB Server

    From 8.2 · fixed in 8.2.9; From 8.3 · fixed in 8.3.2

References 1

jira.mongodb.org