Skip to main content
← All vulnerabilities
CVE-2026-13078

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.39, 8.0.28, 8.2.12, 8.3.7
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • MongoDB MongoDB Server

    From 7.0 · fixed in 7.0.39; From 8.0 · fixed in 8.0.28; From 8.2.0 · fixed in 8.2.12; From 8.3.0 · fixed in 8.3.7

References 2

jira.mongodb.org

GitHub · 0xad3m/CVE-2026-13078-POC