CVE-2026-18708: mongodb Code Injection
Vulnerability summary
CVE-2026-18708 is a medium (CVSS 6.4) Code Injection vulnerability in mongodb. EPSS estimates a 0.38% chance of exploitation in the next 30 days, higher than 30.6% of scored vulnerabilities.
Timeline
- 11-08-2026PublishedVulnerability first disclosed.
- 11-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
- NVDNIST5.3MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · UbuntuEcosystem advisory · calculated6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
- NVDNIST6.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
EPSS trend
Probability
0.38%
Chance of exploitation in the next 30 days
Percentile
31%
Versus all other CVEs
30-day change
+0.10 pp
From 0.28% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Mongodb2 products
- mongodb≥ 7.0.0, < 7.0.40 | ≥ 8.0.0, < 8.0.29 | ≥ 8.2.0, ≤ 8.2.12 | ≥ 8.3.0, < 8.3.8 | 9.0.0:alpha0 | 9.0.0:alpha1 | 9.1.0:alpha0
- mongodb server≥ 8.3.0, < 8.3.8 | ≥ 8.0, < 8.0.29 | ≥ 7.0, < 7.0.40
Ubuntu1 product
- mongodbAll versions (No fix recorded)
2 vendors · 3 products