CVE-2026-8336: mongodb inc mongodb server Use After Free
Vulnerability summary
CVE-2026-8336 is a high (CVSS 7.7) Use After Free vulnerability in mongodb inc mongodb server. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.
Timeline
- 13-05-2026PublishedVulnerability first disclosed.
- 15-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.7HighCVSS: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
- NVDNIST7.7HighCVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:A/V:D/RE:M/U:Red
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
+0.22 pp
From 0.26% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mongodb1 product
- mongodb≥ 8.2.0, < 8.2.9 | ≥ 8.3.0, < 8.3.2
Mongodb inc1 product
- mongodb server≥ 8.2, < 8.2.9 | ≥ 8.3, < 8.3.2
Ubuntu1 product
- mongodbAll versions (No fix recorded)
3 vendors · 3 products