CVE-2026-13078

published 22 Jul 2026 · updated 23 Jul 2026

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

7.7HighCVSS 7.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Server 7.0.39, Server 8.0.28, Server 8.2.12 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=7.0 <7.0.39, >=8.0 <8.0.28, >=8.2.0 <8.2.12, >=8.3.0 <8.3.77.0.39, 8.0.28, 8.2.12, 8.3.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-13078 severity on Zeptric[![CVE-2026-13078](https://zeptric.io/badge/cve/CVE-2026-13078.svg)](https://zeptric.io/cve/CVE-2026-13078)