CVE-2026-18708: An issue in MongoDB Server's JavaScript scripting engine could allow an authenticated user with write privileg
CVE-2026-18708 is a medium-severity flaw (CVSS 6.4) affecting mongodb, mongodb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 th
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 68%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-08-11 |
| Last modified | 2026-09-16 |
Last updated 2026-09-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-18708?
mongodb: upgrade to 7.0.40, 8.0.29, 8.3.8; mongodb: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-18708 being exploited?
CVE-2026-18708 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-18708 affect?
CVE-2026-18708 affects mongodb, mongodb. Severity is medium (CVSS 6.4). 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 proce
How urgent is CVE-2026-18708?
Priority 30/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-8063 MEDIUM 6.5 UPGRADE An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a vi
- CVE-2026-6914 MEDIUM 6.5 UPGRADE Computing the MD5 checksum of a malformed BSON object under specific conditions may cause loss of availability
- CVE-2026-6915 MEDIUM 6.3 UPGRADE An authorization flaw in the user management command could allow an authenticated user to make limited changes
- CVE-2026-8053 HIGH 8.8 UPGRADE An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database
- CVE-2026-8336 HIGH 7.5 UPGRADE After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map f