Skip to main content
VulnerabilityPublished

CVE-2026-18708: MongoDB Server's JavaScript scripting engine · Code Injection

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-18708· Medium 5.3

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

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.

References

Community reviews

Loading reviews…