CVE-2026-8336
Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
- State
- Published
- Severity
- 7.7 High
- Published
- May 13, 2026
- Updated
- May 15, 2026
- Reserved
- May 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.7 High | 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 | mongodb |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | mongodb |
Weaknesses
- CWE-416 Use After Free
Affected Products
| Product | Versions |
|---|---|
MongoDB ServerMongoDB, Inc. |
|
References
- https://jira.mongodb.org/browse/SERVER-121610issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.