CVE-2026-13078
JSON

6.3medium

Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader

Severity
6.3medium CVSS:4.0 by mongodb
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mongodb
Also known as
BIT-MONGODB-2026-13078

Description

A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.

Affected

Product or packageVersionsReported by
MongoDB MongoDB Serverfrom 7.0 before 7.0.39, from 8.0 before 8.0.28, from 8.2.0 before 8.2.12, from 8.3.0 before 8.3.7CVE List
mongodb mongodbfrom 7.0.0 before 7.0.39, from 8.0.0 before 8.0.28, from 8.2.0 before 8.2.12, from 8.3.0 before 8.3.7NVD
mongodb (Bitnami)from 7.0.0 before 7.0.39, from 8.0.0 before 8.0.28, from 8.2.0 before 8.2.12, from 8.3.0 before 8.3.7Bitnami Vulnerability Database

All scores

mongodb6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
mongodb7.7high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-862

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

What each source says

CVE List

A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.

NVD (es)

Una vulnerabilidad fue descubierta en el servidor de MongoDB donde el motor de scripting MozJS del lado del servidor registró incondicionalmente un ’hook’ de carga de módulos que permite a las llamadas JavaScript leer archivos arbitrarios del sistema de archivos del host utilizando los privilegios del proceso mongod. Un usuario autenticado podría exploit esto a través de comandos de ’pipeline’ de agregación manipulados para leer archivos sensibles accesibles al proceso del servidor de MongoDB.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-13078 changed 2026-07-23CVE Terms of Use
NVDCVE-2026-13078 changed 2026-10-24Public domain
Bitnami Vulnerability DatabaseBIT-MONGODB-2026-13078 changed 2026-09-10Apache-2.0