CVE-2026-18708
Published:August 11, 2026
Updated:September 01, 2026
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.
Affected Packages
https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r8.3.0 <r8.3.8Fix Suggestion:
Update to version r8.3.8https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r7.0.0 <r7.0.40Fix Suggestion:
Update to version r7.0.40https://github.com/mongodb/mongo.git (GITHUB):
Affected version(s) >=r8.0.0 <r8.0.29Fix Suggestion:
Update to version r8.0.29Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.28