Skip to main content

MongoDB Server CVE-2026-8063

| EUVDEUVD-2026-28326 HIGH
NULL Pointer Dereference (CWE-476)
2026-05-07 mongodb GHSA-v547-m6pg-pf7w
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain database credentials
  2. Delivery
    Connect to MongoDB port 27017
  3. Exploit
    Issue aggregation query with $rankFusion on view using empty pipeline
  4. Execution
    Trigger null pointer dereference
  5. Impact
    mongod process crashes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attack requires CVSS-specified conditions: (1) authenticated database user credentials (PR:L - low privilege level, typically read-only application user), (2) network access to the MongoDB port (default 27017), and (3) execution of an aggregation query that includes $rankFusion or $scoreFusion operator applied to a view with an intentionally empty pipeline array. The vulnerability does NOT require administrative privileges, non-default MongoDB configuration, or special MongoDB features beyond standard aggregation pipeline support and views. However, the MongoDB instance must be configured to accept remote or network connections (non-localhost binding); completely isolated localhost-only instances are not vulnerable via remote network attack. The presence of views in the database and user authorization to query views are implicit prerequisites.

Impact

This vulnerability presents a moderate denial-of-service risk with limited scope. CVSS 6.5 (AV:N/AC:L/PR:L) correctly reflects that remote unauthenticated exploitation is impossible-the attack requires valid database authentication credentials. The low attack complexity (AC:L) and network vector (AV:N) indicate the attack is straightforward once authentication is obtained. The availability impact (A:H) is real but scoped to a single MongoDB instance; no confidentiality or integrity compromise occurs. EPSS data is unavailable for this 2026-dated CVE, limiting modern exploitation probability assessment. No active exploitation signals are provided (no KEV status, no POC reference). The vulnerability is functionally a crash-only DoS, mitigated by its authentication requirement-insider threats or compromised application accounts are the realistic attack vector. For most deployments with properly restricted database access, this is low-to-moderate priority; for public or loosely-authenticated MongoDB instances, it becomes high-priority. The impact is service disruption, not data loss.

Exploit ScenarioDerived

An authenticated application user or insider connects to a MongoDB instance running version 8.2.0-8.2.6 and executes an aggregation query containing $rankFusion or $scoreFusion with an empty pipeline stage against a view. The mongod process crashes immediately upon attempting to inspect the empty pipeline array, causing service unavailability for all connected clients. The attacker needs no special privileges beyond basic database read access and can reproduce the crash repeatedly.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

MongoDB Server 8.2 before version 8.2.7 crashes when an authenticated user supplies an empty pipeline to $rankFusion or $scoreFusion aggregation operators on a view. The server fails to validate that the pipeline array is non-empty before accessing its first element during view resolution, resulting in a null pointer dereference that terminates the mongod process. This denial-of-service condition requires database authentication but can be triggered remotely via aggregation queries.

RemediationAI

Upgrade MongoDB Server to version 8.2.7 or later. This is the vendor-released patch that fixes the null pointer dereference in the $rankFusion and $scoreFusion stage handlers. If immediate upgrade is not feasible, implement network-level access controls to restrict database authentication to trusted application servers and internal administrative users only. Additionally, monitor for aggregation queries using $rankFusion or $scoreFusion operators and alert on empty pipeline parameters as a detective control. Disable or restrict the use of views with $rankFusion and $scoreFusion operators until patching is complete if those features are not critical to operations. Consult MongoDB advisory SERVER-121851 for additional context and rollout timelines.

Affected VersionsENISA

MongoDB Server 8.2.0 <8.2.7

Affected Packages

euvd mongodb_server fix: 8.2.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MongoDB's view resolution mechanism inspects aggregation pipelines to detect Atlas Search stages at the beginning of the pipeline. The vulnerable code in the $rankFusion and $scoreFusion stage handlers directly accesses the first element of an input pipeline array (typically via array indexing or pointer dereference) without first checking if the array is non-empty. This is a classic null pointer dereference vulnerability (CWE-476). When a view's aggregation pipeline is empty, the unvalidated array access reads from a null pointer, causing the mongod process to crash. The vulnerability exists in the aggregation pipeline execution layer responsible for resolving views in MongoDB 8.2.x releases.

Know when Mongodb Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mongodb) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb) · only source for this CVE.

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
May 07, 2026 - 07:01 EUVD
Severity Changed
May 07, 2026 - 06:35 NVD
MEDIUM HIGH
CVSS changed
May 07, 2026 - 06:35 NVD
6.5 (MEDIUM) 7.1 (HIGH)
CVE Published
May 07, 2026 - 04:12 nvd
MEDIUM 6.5

DescriptionCVE.org

An authenticated user can crash mongod when running $rankFusion or $scoreFusion with an empty pipeline on a view.

When resolving a view, the server inspects the aggregation pipeline to determine whether it begins with an Atlas Search stage. For $rankFusion and $scoreFusion, this inspection reads the first element on each stage’s input pipeline array without first verifying that the array is non-empty. Supplying an empty pipeline causes a null pointer dereference and crashes the server.

This issue affects MongoDB Server 8.2 versions prior to 8.2.7.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2026-82067 CRITICAL
9.2 Sep 08

Authorization bypass in MongoDB Server (7.0.x before 7.0.41, 8.0.x before 8.0.30, 8.3.x before 8.3.9) allows unauthentic

CVE-2026-18691 CRITICAL
9.0 Aug 11

Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a

CVE-2026-18697 HIGH
8.7 Aug 11

Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos

CVE-2026-82075 HIGH
8.7 Sep 08

Unauthenticated CPU exhaustion in the MongoDB sharded-cluster router process (mongos) allows any client with network acc

CVE-2026-82064 HIGH
8.7 Sep 08

Denial of service in MongoDB Server allows an unauthenticated remote attacker to terminate the mongod process by trigger

CVE-2026-8053 HIGH
8.7 May 12

Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen

CVE-2026-4148 HIGH
8.7 Mar 17

MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe

CVE-2026-9740 HIGH
8.7 Jun 09

Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod

CVE-2026-9742 HIGH
8.2 Jun 09

Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce

CVE-2026-18692 HIGH
7.7 Aug 11

Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr

CVE-2026-89099 HIGH
7.7 Sep 11

Race condition in MongoDB Server's document value layer permits an authenticated user with ordinary read-write database

CVE-2026-8336 HIGH
7.7 May 13

Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy