CVE-2026-8336 Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
HighCVSS 7.7
EPSS 0.47%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| MongoDB Server | >= 8.2, < 8.2.9; >= 8.3, < 8.3.2 | 8.2.9, 8.3.2 | Fixed |
| mongodb/mongodb | >= 8.2.0, < 8.2.9; >= 8.3.0, < 8.3.2 | 8.2.9, 8.3.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| MongoDB Server | >= 8.2, < 8.2.9 | 8.2.9 |
| MongoDB Server | >= 8.3, < 8.3.2 | 8.3.2 |
| mongodb/mongodb | >= 8.2.0, < 8.2.9 | 8.2.9 |
| mongodb/mongodb | >= 8.3.0, < 8.3.2 | 8.3.2 |
References
- jira.mongodb.org issue-tracking vendor-advisory