File disclosure via unconditional MozJS module loader
Published Jul 22, 2026 · Updated Jul 22, 2026
File disclosure in MongoDB Server allows remote authenticated users to read host files via crafted aggregation pipelines. The server-side MozJS engine registers a module-loading hook without an authorization check, letting JavaScript load arbitrary filesystem paths under mongod's privileges. Database authentication and permission to submit a crafted aggregation pipeline are required, and disclosure is limited to files readable by the mongod process.
Summary
What happened
File disclosure in MongoDB Server allows remote authenticated users to read host files via crafted aggregation pipelines. The server-side MozJS engine registers a module-loading hook without an authorization check, letting JavaScript load arbitrary filesystem paths under mongod's privileges. Database authentication and permission to submit a crafted aggregation pipeline are required, and disclosure is limited to files readable by the mongod process.
The record
- CVE
- CVE-2026-13078
- Published
- Jul 22, 2026
- Updated
- Jul 22, 2026
- Vendor
- MongoDB
- Product
- MongoDB Server
- Classifications
- CWE-862, T1005
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 22, 2026CVE publishedPublication date reported by the CVE source.
- Jul 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=7.0 <7.0.39
- Affected versionversion=8.0 <8.0.28
- Affected versionversion=8.2.0 <8.2.12
- Affected versionversion=8.3.0 <8.3.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo