Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 7.5 · High EPSS 0.05% · P16

Possible ATT&CK Techniques 1AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 2

VendorProductVersion RangeStatus
MongoDB, Inc.MongoDB Server8.2< 8.2.9affected
8.3< 8.3.2affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-8336

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
释放后使用
Source: NVD (National Vulnerability Database)
Vulnerability Title
MongoDB Server 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MongoDB Server是美国MongoDB公司的一套开源的NoSQL数据库。该数据库提供面向集合的存储、动态查询、数据复制及自动故障转移等功能。 MongoDB Server 7.0.34之前版本、8.0.23之前版本、8.2.9之前版本和8.3.2之前版本存在资源管理错误漏洞,该漏洞源于$_internalJsEmit或mapreduce命令的map函数调用方式不当,可能导致认证用户在特定方式下使用服务器端JavaScript引擎时崩溃mongod,造成认证后拒绝服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
MongoDB, Inc.MongoDB Server 8.2 ~ 8.2.9 -

II. Public POCs for CVE-2026-8336

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-8336

登录查看更多情报信息。

Same Patch Batch · MongoDB, Inc. · 2026-05-13 · 5 CVEs total

CVE-2026-81996.5 MEDIUMPost-auth memory exhaustion via bitwise match expressions
CVE-2026-82016.4 MEDIUMUse-After-Free in MongoDB FLE Query Analysis When Processing Positional Projections on Enc
CVE-2026-82024.3 MEDIUMPost-authentication CPU utilization DoS via $trim/$ltrim/$rtrim operators
CVE-2026-82002.7 LOWSchema validation log messages may not redact user data

IV. Related Vulnerabilities

V. Comments for CVE-2026-8336

No comments yet


Leave a comment