HarborGuard / CVE
Back to search
HIGHCVE-2026-8336Published Modified CNA mongodb

CVE-2026-8336: Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands

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.

Metrics

CVSS v4.0
7.7
Severity
HIGH
Fixed in
8.2.9
Affected Products
1

Fix available

8.2.98.3.2
Affected packages
  • MongoDB, Inc. / MongoDB Server
    < 8.2.9 (from 8.2) · < 8.3.2 (from 8.3)
CVSS Vector
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