Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain database credentials
-
DeliveryConnect to MongoDB port 27017
-
ExploitIssue aggregation query with $rankFusion on view using empty pipeline
-
ExecutionTrigger null pointer dereference
-
Impactmongod 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
4DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
More in Mongodb Server
View allAuthorization 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
Credential exposure in MongoDB Server's replica-set/sharded-cluster internal authentication allows an adjacent-network a
Unauthenticated denial of service in MongoDB Server's aggregation framework allows remote attackers to crash the mongos
Unauthenticated CPU exhaustion in the MongoDB sharded-cluster router process (mongos) allows any client with network acc
Denial of service in MongoDB Server allows an unauthenticated remote attacker to terminate the mongod process by trigger
Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authen
MongoDB Server sharded clusters are vulnerable to use-after-free memory corruption when authenticated users with read pe
Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod
Pre-authentication denial-of-service in MongoDB Server allows unauthenticated remote clients to crash the database proce
Use-after-free in MongoDB Server's timeseries bucket lifecycle handling allows an authenticated user with write-level pr
Race condition in MongoDB Server's document value layer permits an authenticated user with ordinary read-write database
Authenticated users can crash MongoDB Server by chaining specific server-side JavaScript operations ($_internalJsEmit or
EUVD-2026-28326
GHSA-v547-m6pg-pf7w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB