CVE-2026-8336
published high CVSS 4.0 · 7.7Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| MongoDB, Inc. | — | MongoDB Server8.2 to < 8.2.9 · 8.3 to < 8.3.2 · Other versions: unaffected | Affected | Not stated | mongodb |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.7 / 10
- Severity
- high
- Provider
- mongodb · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | mongodb · cna | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| MongoDB, Inc. | MongoDB Server | 8.2 to < 8.2.9 (affected · custom)8.3 to < 8.3.2 (affected · custom)Default: unaffected | mongodb · cna |
Weaknesses
1- CWE-416 CWE-416: Use After Free
References
1Provider assertions
2mongodb · cna
Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 25201f2b50dbca128a8ef42fd88e0c2d32a9369aa698c889d5e8b13eda2f45bd
- Ingested
- 23 Sep 2026, 09:38:42 UTC
- Source record
- Official CVE record