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…

CVE-2026-13078: CWE-862: Missing Authorization in MongoDB MongoDB Server

0
Medium
VulnerabilityCVE-2026-13078cvecve-2026-13078cwe-862
Published: 07/22/2026 (07/22/2026, 19:11:20 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: MongoDB Server

Description

A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.

CVSS v4.0

Score 6.3medium

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
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

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo
pkg:github/mongodb/mongo
Affected versions
=7.0=8.0=8.2.0=8.3.0

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

Technical Analysis

This vulnerability arises from the MongoDB Server's MozJS scripting engine unconditionally registering a module loading hook, enabling JavaScript calls to read arbitrary files on the host filesystem using the mongod process's privileges. An authenticated attacker can exploit this by sending crafted aggregation pipeline commands, thereby reading sensitive files accessible to the MongoDB server process. The issue is tracked as CWE-862 (Missing Authorization). The CVSS 4.0 base score is 6.3, indicating medium severity. Affected versions are exactly 7.0, 8.0, 8.2.0, and 8.3.0. There is no vendor advisory or patch information available at this time.

Potential Impact

An authenticated user with privileges to run aggregation pipeline commands can read arbitrary files on the host filesystem with the permissions of the mongod process. This could lead to unauthorized disclosure of sensitive information stored on the server. There are no known exploits in the wild currently.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to authenticated users and limit privileges of the mongod process to minimize potential impact.

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

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/22/2026, 20:23:06 UTC

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

Views: 10

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