CVE-2026-18708: MongoDB Server · Code Injection
Affects MongoDB ServerSource CVE Database V5
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
If you cannot patch yet, restrict write privileges to trusted users only and monitor for suspicious activity related to stored values processed during internal maintenance cycles.
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.