CVE-2026-18708CWE-94code-injection

CVE-2026-18708

Medium · published August 11, 2026

CVSS v3.1
6.4
EPSS
0%
Percentile
30.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00380 · 30.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-08-11T23:17Z
Affected products (7)
ProductVersionsFixed in
mongodb/mongodb≥ 7.0.0, < 7.0.407.0.40
mongodb/mongodb≥ 8.0.0, < 8.0.298.0.29
mongodb/mongodb≥ 8.2.0, ≤ 8.2.12—
mongodb/mongodb≥ 8.3.0, < 8.3.88.3.8
mongodb/mongodball versions—
mongodb/mongodball versions—
mongodb/mongodball versions—
References (1)
EPSS history
Timeline
  • 11 AUG 18:41Z
    Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes
    cvelistv5