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.
Fix
Public exploits 1
- 0xad3m/CVE-2026-13078-POC PoC on GitHub
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 1
- https://jira.mongodb.org/browse/SERVER-128832 Vendor Advisory, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 6.3 · mongodbNVD modified 2026-10-24 13:10
Affected (CPE criteria) 1
cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*
References 1
- https://jira.mongodb.org/browse/SERVER-128832 Vendor Advisory, Patch