Skip to main content
VulnerabilityPublished

CVE-2026-18708: MongoDB Server · Code Injection

Affects MongoDB ServerSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
MongoDBMongoDB ServerAffected
  • >=8.3.0 <8.3.8
Fixed in
  • 8.3.8
MongoDBMongoDB ServerAffected
  • >=8.0 <8.0.29
Fixed in
  • 8.0.29
MongoDBMongoDB ServerAffected
  • >=7.0 <7.0.40
Fixed in
  • 7.0.40

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.

References

Community reviews

Loading reviews…