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 package | Versions | Reported by |
|---|---|---|
| MongoDB MongoDB Server | from 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.7 | CVE List |
| mongodb mongodb | 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.7 | NVD |
| 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.7 | Bitnami Vulnerability Database |
All scores
| mongodb | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N |
| mongodb | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
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
| https://jira.mongodb.org/browse/SERVER-128832 | advisory, patch, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-13078 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-13078 changed 2026-07-23 | CVE Terms of Use |
| NVD | CVE-2026-13078 changed 2026-10-24 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2026-13078 changed 2026-09-10 | Apache-2.0 |