Code Injection in MongoDB Server - CVE-2026-18708
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote user to execute code within the query scope of other users.
The vulnerability exists due to improper control of code generation in MongoDB Server's JavaScript scripting engine when processing a specially crafted stored value during an internal maintenance cycle. A remote user can store a specially crafted value to execute code within the query scope of other users.
Impact is limited to the scripting engine's execution sandbox, which does not provide access to database, filesystem, or network resources.