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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-18708— Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes

Quick assessment

Affected
MongoDB MongoDB Server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MongoDB Server是美国MongoDB公司开源的一款面向文档的数据库系统。 MongoDB Server 8.3.0至8.3.8之前版本、8.0至8.0.29之前版本和7.0至7.0.40之前版本存在代码注入漏洞,该漏洞源于JavaScript脚本引擎处理特制存储值时存在安全问题,可能导致拥有写权限的已认证用户在其他用户的查询范围内执行代码,造成查询结果损坏和拒绝服务。

CVSS 6.4 · Medium EPSS 0.38% · P30

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 3

VendorProduct Version RangeStatus
MongoDB MongoDB Server 8.3.0< 8.3.8 affected
8.0< 8.0.29 affected
7.0< 7.0.40 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-18708

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
Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes
Source: CVE Program / CVE List V5
Vulnerability Description
An issue in MongoDB Server's JavaScript scripting engine could allow an authenticated user with write privileges to cause code they control to be executed within the query scope of other users, through a specially crafted stored value processed during an internal maintenance cycle. This could result in corruption of query results affecting other users and denial of service targeted at their operations on the same database. Impact is limited to the scripting engine's execution sandbox, which does not provide access to database, filesystem, or network resources.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
MongoDB Server 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MongoDB Server是美国MongoDB公司开源的一款面向文档的数据库系统。 MongoDB Server 8.3.0至8.3.8之前版本、8.0至8.0.29之前版本和7.0至7.0.40之前版本存在代码注入漏洞,该漏洞源于JavaScript脚本引擎处理特制存储值时存在安全问题,可能导致拥有写权限的已认证用户在其他用户的查询范围内执行代码,造成查询结果损坏和拒绝服务。
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

Vendor Product Affected Versions CPE Subscribe
MongoDB MongoDB Server 8.3.0 ~ 8.3.8 -

II. Public POCs for CVE-2026-18708

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-18708

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-18708 (1)

Same Patch Batch · MongoDB · 2026-08-11 · 25 CVEs total

CVE-2026-18692 8.8 HIGH Use-After-Free in MongoDB Timeseries Bucket Handling Leads to Denial of Service and Potent
CVE-2026-18691 8.8 HIGH Improper Authentication in MongoDB Intra-Cluster Connections Allows Credential Exposure
CVE-2026-18690 8.1 HIGH Improper Authorization in MongoDB Server Allows Unauthorized Actions on System Collections
CVE-2026-18712 8.1 HIGH Improper Authorization in MongoDB Queryable Encryption Maintenance Operations Allows Unaut
CVE-2026-18693 7.6 HIGH Out-of-Bounds Read/Write in MongoDB Timeseries Bucket Handling Leads to Denial of Service
CVE-2026-18697 7.5 HIGH Improper Input Validation in MongoDB Aggregation Framework Allows Unauthenticated Denial o
CVE-2026-18687 7.1 HIGH Improper Validation in MongoDB Queryable Encryption Maintenance Operation Leads to Denial
CVE-2026-18694 7.1 HIGH Out-of-Bounds Read in MongoDB Geospatial Query Processing Leads to Denial of Service and P
CVE-2026-18711 7.1 HIGH Use-After-Free in MongoDB Query Execution Engine Leads to Denial of Service and Potential
CVE-2026-18688 7.1 HIGH Out-of-Bounds Read in MongoDB Aggregation Framework Leads to Denial of Service and Potenti
CVE-2026-18706 6.6 MEDIUM Use-After-Free in MongoDB $graphLookup Aggregation Stage Leads to Denial of Service and Po
CVE-2026-18704 6.5 MEDIUM Improper Authorization in MongoDB Aggregation Framework Allows Read-Only User to Perform U
CVE-2026-18701 6.5 MEDIUM Type Confusion in MongoDB Query Subsystem Leads to Denial of Service
CVE-2026-18700 6.5 MEDIUM Use-After-Free in MongoDB Geospatial Validation Leads to Denial of Service
CVE-2026-18705 6.5 MEDIUM Improper Authorization in MongoDB Atlas Vector Search Allows Unauthorized Access to Protec
CVE-2026-18696 6.5 MEDIUM Improper Authorization in MongoDB applyOps Command Handling Allows Unauthorized DDL Operat
CVE-2026-18695 6.5 MEDIUM Improper Input Validation in MongoDB Timeseries Query Processing Leads to Denial of Servic
CVE-2026-18699 6.5 MEDIUM Improper Input Validation in MongoDB Query Planner Leads to Denial of Service
CVE-2026-18710 6.5 MEDIUM Cleartext Storage of Sensitive Information in MongoDB Driver Logging During Client Initial
CVE-2026-18709 6.4 MEDIUM Missing Authorization in MongoDB Sharded Transaction Commit/Abort Handling Leads to Cross-

Showing top 20 of 25 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-18708

No comments yet


Leave a comment