CVE-2026-18708
MediumCVSS 6.4Exploitation Probability (EPSS)
Low risk21th percentile - higher than 21% of all known CVEs
Summary
A vulnerability in MongoDB Server's JavaScript scripting engine could allow an authenticated user with write privileges to execute controlled code within the query scope of other users via 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.
Risk Assessment
The risk includes potential integrity and availability issues for other database users, leading to incorrect query results and service disruptions.
Recommendation
It is recommended to update MongoDB Server to a patched version and restrict write privileges for users to reduce the risk of exploitation.
Original NVD description (English source)
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.

