Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 73%

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

0
Medium
Published: 08/19/2026 (08/19/2026, 08:49:31 UTC)
Source: GCVE Database
Product: mongodb

Description

MongoDB Server contains a vulnerability in its MozJS scripting engine module loader that allows authenticated users to read arbitrary files on the host filesystem. This occurs because the module loading hook is unconditionally registered, enabling JavaScript calls with the privileges of the mongod process to access sensitive files. The issue can be exploited through crafted aggregation pipeline commands. A patch is available to address this vulnerability.

Affected software

Affected versions
>=7.0.0 <7.0.39>=8.0.0 <8.0.28>=8.2.0 <8.2.12>=8.3.0 <8.3.7

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 16:04:43 UTC

Technical Analysis

CVE-2026-13078 is a local file disclosure vulnerability in MongoDB Server affecting the MozJS scripting engine module loader. The server-side MozJS engine unconditionally registers a module loading hook, which allows JavaScript code executed within the server context to read arbitrary files from the host filesystem with the privileges of the mongod process. An authenticated user can exploit this by sending specially crafted aggregation pipeline commands to the server, thereby accessing sensitive files accessible to the MongoDB server process. This vulnerability affects multiple MongoDB versions and has a moderate severity rating.

Potential Impact

An authenticated attacker can read arbitrary files on the host filesystem with the privileges of the MongoDB server process. This could lead to disclosure of sensitive information stored on the server, potentially impacting confidentiality. There is no indication of remote unauthenticated exploitation or privilege escalation beyond the mongod process privileges.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade affected MongoDB Server versions to the fixed releases to remediate the issue. Since this is not a cloud service, remediation requires applying the patch on self-managed deployments. No vendor advisory content contradicts this guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 08/19/2026, 16:04:43 UTC

Last updated: 09/05/2026, 10:52:07 UTC

Views: 145

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses