# CVE-2026-13078: Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader

- Severity: Medium 6.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-07-22T19:11:20.916Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: BIT-MONGODB-2026-13078
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- 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
- 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
- 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

## Every score

- mongodb: CVSS:4.0 6.3 Medium `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: CVSS:3.1 7.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://jira.mongodb.org/browse/SERVER-128832> (advisory, patch, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13078> (web)

## Sources

- CVE List: [CVE-2026-13078](https://www.cve.org/CVERecord?id=CVE-2026-13078), CVE Terms of Use, modified 2026-07-23
- NVD: [CVE-2026-13078](https://nvd.nist.gov/vuln/detail/CVE-2026-13078), Public domain, modified 2026-10-24
- Bitnami Vulnerability Database: [BIT-MONGODB-2026-13078](https://osv.dev/vulnerability/BIT-MONGODB-2026-13078), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-13078 · Whole record: https://cve.day/CVE-2026-13078.json · Rebuilt by cve.day 2026-11-25T22:59:29.850Z
