CVE-2026-18708
5.3medium
Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes
- Severity
- 5.3medium CVSS:4.0 by mongodb
- Exploit likelihood
- 0.39% (higher than 25% of CVEs)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2026-18708
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
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB MongoDB Server | from 8.3.0 before 8.3.8, from 8.0 before 8.0.29, from 7.0 before 7.0.40 | CVE List |
| mongodb mongodb | from 7.0.0 before 7.0.40, from 8.0.0 before 8.0.29, from 8.2.0 up to 8.2.12, from 8.3.0 before 8.3.8, 9.0.0, 9.1.0 | NVD |
| mongodb (Bitnami) | from 7.0.0 before 7.0.40, from 8.0.0 before 8.0.29, from 8.2.0 before 8.3.8, from 9.0.0 before 9.0.2 | Bitnami Vulnerability Database |
All scores
| mongodb | 5.3medium CVSS:4.0 | 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 |
| mongodb | 6.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://jira.mongodb.org/browse/SERVER-130167 | advisory, issue-tracking, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-18708 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-18708 changed 2026-08-11 | CVE Terms of Use |
| NVD | CVE-2026-18708 changed 2026-09-16 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2026-18708 changed 2026-10-01 | Apache-2.0 |