Skip to main content
EPSS 0.3%top 74%

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

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

Description

A local file disclosure vulnerability exists in MongoDB Server's MozJS scripting engine module loader. This flaw allows authenticated users to read arbitrary files on the host filesystem with the privileges of the mongod process by exploiting a module loading hook via crafted aggregation pipeline commands. The issue affects multiple MongoDB versions prior to patched releases. A fix is available to address this vulnerability.

Affected software

Bitnamimore threats →ghsa
mongodb
pkg:bitnami/mongodb
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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 23:00:51 UTC

Technical Analysis

MongoDB Server contains a vulnerability (CVE-2026-13078) in its MozJS scripting engine where a module loading hook is unconditionally registered. This enables JavaScript code executed within the server to read arbitrary files on the host filesystem using the mongod process's privileges. An authenticated attacker can exploit this by sending specially crafted aggregation pipeline commands to read sensitive files accessible to the server process. The vulnerability affects versions >=7.0.0 <7.0.39, >=8.0.0 <8.0.28, >=8.2.0 <8.2.12, and >=8.3.0 <8.3.7. No known exploits in the wild have been reported. A patch is available to remediate the issue.

Potential Impact

An authenticated user can read arbitrary files on the MongoDB server host with the permissions of the mongod process. This could lead to exposure of sensitive information stored on the server filesystem. The vulnerability does not allow unauthenticated access and requires valid authentication to exploit.

Mitigation Recommendations

A patch is available for this vulnerability. Users should upgrade affected MongoDB Server versions to the fixed releases at or beyond 7.0.39, 8.0.28, 8.2.12, and 8.3.7 to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.

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"]
Database Specific Severity
MODERATE
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a6150da9c2644c7f8da1140

Added to database: 07/22/2026, 23:23:06 UTC

Last enriched: 09/10/2026, 23:00:51 UTC

Last updated: 10/21/2026, 13:20:20 UTC

Views: 181

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