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

Published Jul 22, 2026
·
Updated

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 Software

1 affected component
MongoDB MongoDB Server

Event History

Jul 22, 2026
CVE Published
via MITRE·07:11 PM
Data Sourced
via MITRE·07:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-13078?

CVE-2026-13078 has a high severity rating of 7.7.

2

How do I fix CVE-2026-13078?

To mitigate CVE-2026-13078, update your MongoDB Server to the latest version where the vulnerability has been addressed.

3

Who can exploit CVE-2026-13078?

An authenticated user with access to the MongoDB Server can exploit CVE-2026-13078 to disclose local files.

4

What type of vulnerability is CVE-2026-13078?

CVE-2026-13078 is classified as a Local File Disclosure vulnerability.

5

What impact does CVE-2026-13078 have on MongoDB Server?

CVE-2026-13078 allows an authenticated user to read arbitrary files from the host filesystem, potentially exposing sensitive data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203