CVE-2026-8336

published 13 May 2026 · updated 15 May 2026

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

7.5HighCVSS 7.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 8.2.9 and Server 8.3.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=8.2 <8.2.9, >=8.3 <8.3.28.2.9, 8.3.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-8336 severity on Zeptric[![CVE-2026-8336](https://zeptric.io/badge/cve/CVE-2026-8336.svg)](https://zeptric.io/cve/CVE-2026-8336)