CVE-2026-18708
JSON

5.3medium

Improper Neutralization of Input in MongoDB Server's JavaScript Scripting Engine Leads to Unauthorized Code Execution Within Query Scopes

Severity
5.3medium CVSS:4.0 by mongodb
Exploit likelihood
0.39% (higher than 25% of CVEs)
Published
Last changed
Assigned by
mongodb
Also known as
BIT-MONGODB-2026-18708

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.

Affected

Product or packageVersionsReported by
MongoDB MongoDB Serverfrom 8.3.0 before 8.3.8, from 8.0 before 8.0.29, from 7.0 before 7.0.40CVE List
mongodb mongodbfrom 7.0.0 before 7.0.40, from 8.0.0 before 8.0.29, from 8.2.0 up to 8.2.12, from 8.3.0 before 8.3.8, 9.0.0, 9.1.0NVD
mongodb (Bitnami)from 7.0.0 before 7.0.40, from 8.0.0 before 8.0.29, from 8.2.0 before 8.3.8, from 9.0.0 before 9.0.2Bitnami Vulnerability Database

All scores

mongodb5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
mongodb6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-94

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-18708 changed 2026-08-11CVE Terms of Use
NVDCVE-2026-18708 changed 2026-09-16Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2026-18708 changed 2026-10-01Apache-2.0