CVE-2026-18708: MongoDB
Medium severity, CVSS 6.4. EPSS: 0.4% chance of exploitation in the next 30 days.
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 products
- MongoDB MongoDB: from 7.0.0, before 7.0.40 (fixed in 7.0.40); from 8.0.0, before 8.0.29 (fixed in 8.0.29); from 8.2.0, up to and including 8.2.12; from 8.3.0, before 8.3.8 (fixed in 8.3.8); version 9.0.0 only; version 9.1.0 only
Published 2026-08-11. Last modified 2026-09-16.