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…

A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that… (CVE-2026-13078)

0
Medium
Published: 07/22/2026 (07/22/2026, 21:32:07 UTC)
Source: GCVE Database

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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
Scope
X
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:32:46 UTC

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.

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: 07/22/2026, 23:32:46 UTC

Last updated: 07/23/2026, 02:51:54 UTC

Views: 3

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