Original 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.
Affected software
- MongoDB ≥ 8.0.0 < 8.0.29≥ 8.2.0 ≤ 8.2.12= 9.1.0= 9.0.0≥ 8.3.0 < 8.3.8≥ 7.0.0 < 7.0.40 Fixed in: 8.0.29, 8.3.8, 7.0.40 exact match
Details
- Published
- 2026-08-12
- Last modified
- 2026-08-12
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N- CWE
- CWE-94
- EPSS (30-day exploit probability)
- 0.38% (percentile 32)
References
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.