Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongodb | >= 7.0.0, < 7.0.40 |
Related Weaknesses (CWE)
References
- https://jira.mongodb.org/browse/SERVER-130167Vendor AdvisoryIssue Tracking
FAQ
What is CVE-2026-18708?
CVE-2026-18708 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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, throug...
How severe is CVE-2026-18708?
CVE-2026-18708 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-18708?
Check the references section above for vendor advisories and patch information. Affected products include: Mongodb Mongodb.