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.
Published: 2026-08-11
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An issue in MongoDB Server's JavaScript scripting engine allows an authenticated user with write privileges to inject specially crafted stored values that are processed during an internal maintenance cycle. This causes code the attacker controls to execute within the query scope of other users, leading to tampered query results and targeted denial of service against those users’ operations. The vulnerability is limited to the sandboxed scripting environment, which lacks direct access to the database, filesystem, or network resources.

Affected Systems

The affected product is MongoDB Server. No specific version information is provided, so all currently installed instances may be susceptible unless a patch has already been applied.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, while the EPSS score of < 1% suggests a low likelihood of widespread exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector requires an authenticated user with write rights; the attacker must craft data that will be executed during maintenance, which is an inferred prerequisite rather than an explicitly stated condition. Exploitation would corrupt data visible to other users and could disrupt operations within the same database.

Generated by OpenCVE AI on August 12, 2026 at 20:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply vendor-supplied patches that address the scripting engine issue
  • Limit write privileges to trusted users and remove unnecessary write access from accounts that do not require it
  • Monitor query logs for unexpected JavaScript execution and consider disabling the JavaScript engine or enforcing query validation when possible

Generated by OpenCVE AI on August 12, 2026 at 20:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 12 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb mongodb Server
Vendors & Products Mongodb
Mongodb mongodb Server

Tue, 11 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 11 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
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.
Title Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


Subscriptions

Mongodb Mongodb Server
cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-08-11T20:23:13.258Z

Reserved: 2026-08-03T15:55:08.340Z

Link: CVE-2026-18708

cve-icon Vulnrichment

Updated: 2026-08-11T20:23:09.332Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-11T19:17:25.670

Modified: 2026-08-28T21:16:15.740

Link: CVE-2026-18708

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T20:15:03Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')