CVE-2026-18708: MongoDB Server's JavaScript scripting engine · Code Injection
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 8.3.8 : update MongoDB Server when convenient.
Data as of 9 Nov 2026, 23:24 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 32% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.3.8, 8.0.29, 7.0.40
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 11 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade MongoDB Server to 8.3.8, 8.0.29 or 7.0.40.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MongoDBMongoDB Server | Affected
| Fixed in
|
| MongoDBMongoDB Server | Affected
| Fixed in
|
| MongoDBMongoDB Server | Affected
| Fixed in
|
AI-suggested
In the meantime, limit write privileges to trusted users to reduce risk.
Description
A vulnerability in MongoDB Server's JavaScript scripting engine allows an authenticated user with write privileges to execute code they control within the query scope of other users. This can lead to corruption of query results and denial of service for other users on the same database. The impact is confined to the scripting engine's sandbox and does not extend to database, filesystem, or network resources.