CVE-2026-13078: CWE-862: Missing Authorization in MongoDB MongoDB Server
CVE-2026-13078 is a medium severity vulnerability in MongoDB Server where the server-side MozJS scripting engine registers a module loading hook that allows JavaScript code to read arbitrary files on the host filesystem with the privileges of the mongod process. An authenticated user can exploit this by sending crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process. No official patch or remediation guidance is currently provided.
AI Analysis
Technical Summary
This vulnerability involves a missing authorization check in the MongoDB Server's MozJS scripting engine. The engine unconditionally registers a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the permissions of the mongod process. An attacker with authentication can exploit this by crafting aggregation pipeline commands that leverage this hook to read sensitive files accessible to the server process. The vulnerability is tracked as CWE-862 (Missing Authorization). The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, and low privileges required. No patch or official remediation level has been disclosed as of the publication date.
Potential Impact
An authenticated user can read arbitrary files on the host filesystem with the privileges of the MongoDB server process. This could lead to disclosure of sensitive data stored on the server host that the mongod process can access. There is no indication of privilege escalation or remote unauthenticated exploitation. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict authenticated user permissions to the minimum necessary and monitor for unusual aggregation pipeline commands that could exploit this vulnerability.
CVE-2026-13078: CWE-862: Missing Authorization in MongoDB MongoDB Server
Description
CVE-2026-13078 is a medium severity vulnerability in MongoDB Server where the server-side MozJS scripting engine registers a module loading hook that allows JavaScript code to read arbitrary files on the host filesystem with the privileges of the mongod process. An authenticated user can exploit this by sending crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process. No official patch or remediation guidance is currently provided.
CVSS v4.0
Score 6.3medium
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a missing authorization check in the MongoDB Server's MozJS scripting engine. The engine unconditionally registers a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the permissions of the mongod process. An attacker with authentication can exploit this by crafting aggregation pipeline commands that leverage this hook to read sensitive files accessible to the server process. The vulnerability is tracked as CWE-862 (Missing Authorization). The CVSS 4.0 base score is 6.3 (medium severity), reflecting network attack vector, low attack complexity, and low privileges required. No patch or official remediation level has been disclosed as of the publication date.
Potential Impact
An authenticated user can read arbitrary files on the host filesystem with the privileges of the MongoDB server process. This could lead to disclosure of sensitive data stored on the server host that the mongod process can access. There is no indication of privilege escalation or remote unauthenticated exploitation. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict authenticated user permissions to the minimum necessary and monitor for unusual aggregation pipeline commands that could exploit this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-06-23T18:00:23.432Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6123219c2644c7f89b2d35
Added to database: 07/22/2026, 20:08:01 UTC
Last enriched: 07/30/2026, 05:13:45 UTC
Last updated: 09/05/2026, 06:19:41 UTC
Views: 121
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.