A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that… (CVE-2026-13078)
A vulnerability in MongoDB Server's server-side MozJS scripting engine allows authenticated users to read arbitrary files on the host filesystem. This occurs because the engine unconditionally registers a module loading hook that can be exploited via crafted aggregation pipeline commands. The vulnerability enables file access with the privileges of the mongod process.
AI Analysis
Technical Summary
CVE-2026-13078 is a vulnerability in MongoDB Server where the MozJS scripting engine on the server side registers a module loading hook without restrictions. This flaw allows authenticated users to execute JavaScript calls that read arbitrary files from the host filesystem with the permissions of the MongoDB server process. Exploitation requires authentication and is performed through specially crafted aggregation pipeline commands.
Potential Impact
An authenticated attacker can read sensitive files accessible to the MongoDB server process on the host filesystem. This could lead to unauthorized disclosure of sensitive data stored on the server. There is no indication of privilege escalation beyond the mongod process privileges or remote unauthenticated exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, restrict access to authenticated users and monitor for suspicious aggregation pipeline commands that could exploit this vulnerability.
A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that… (CVE-2026-13078)
Description
A vulnerability in MongoDB Server's server-side MozJS scripting engine allows authenticated users to read arbitrary files on the host filesystem. This occurs because the engine unconditionally registers a module loading hook that can be exploited via crafted aggregation pipeline commands. The vulnerability enables file access with the privileges of the mongod process.
CVSS v4.0
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-13078 is a vulnerability in MongoDB Server where the MozJS scripting engine on the server side registers a module loading hook without restrictions. This flaw allows authenticated users to execute JavaScript calls that read arbitrary files from the host filesystem with the permissions of the MongoDB server process. Exploitation requires authentication and is performed through specially crafted aggregation pipeline commands.
Potential Impact
An authenticated attacker can read sensitive files accessible to the MongoDB server process on the host filesystem. This could lead to unauthorized disclosure of sensitive data stored on the server. There is no indication of privilege escalation beyond the mongod process privileges or remote unauthenticated exploitation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided at this time. Until a patch is available, restrict access to authenticated users and monitor for suspicious aggregation pipeline commands that could exploit this vulnerability.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fpx3-f8x9-6hqm
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-13078"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 4.0
Threat ID: 6a6150da9c2644c7f8da1140
Added to database: 07/22/2026, 23:23:06 UTC
Last enriched: 07/22/2026, 23:32:46 UTC
Last updated: 07/23/2026, 02:51:54 UTC
Views: 3
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.
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.