Skip to main content

MongoDB Server EUVDEUVD-2026-35861

| CVE-2026-9743 HIGH
NULL Pointer Dereference (CWE-476)
2026-06-09 mongodb GHSA-cmc7-vq67-x4pm
7.1
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to MongoDB 8.0
  2. Delivery
    Issue crafted aggregation pipeline
  3. Exploit
    Leave _subPipeline field null
  4. Execution
    Send getMore on returned cursor
  5. Persist
    Server dereferences null pointer
  6. Impact
    mongod process crashes (DoS)

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

Attacker must hold valid MongoDB credentials with privileges to execute aggregation pipelines (typically the built-in read role or any role granting the 'find'/aggregate action on a target collection) against MongoDB Server 8.0. The attack requires two sequenced operations on the same cursor: an aggregate command whose pipeline triggers the null _subPipeline state, immediately followed by a getMore on the returned cursor ID. No user interaction, no special server configuration, and no non-default deployment mode are required - any 8.0 instance that accepts authenticated aggregations is exploitable. Limiting factors: PR:L authentication is mandatory (anonymous internet scans cannot exploit it), and impact is confined to availability (no data exfiltration or integrity loss), so deployments where aggregation privileges are restricted to trusted internal application identities face significantly reduced exposure.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N with VA:H (high availability impact, no confidentiality/integrity impact) accurately reflects a network-reachable, low-complexity, low-privilege DoS bug - yielding a 7.1 base score. SSVC framing: exploitation status is 'none' (no public exploit identified at time of analysis), the bug is highly automatable (a small scripted payload can repeatedly crash the target), and technical impact is partial (availability only, no data compromise). It is not in CISA KEV and no EPSS score was provided in the input, so widespread opportunistic exploitation is not confirmed. The realistic priority is medium-high for production clusters where any authenticated user can run aggregations, especially shared/multi-tenant environments and SaaS-hosted MongoDB; it is lower priority where aggregation privileges are tightly scoped to trusted application accounts. PR:L is consistent with the description's 'authenticated user who can run aggregation pipelines' - no signals conflict.

Exploit ScenarioDerived

An authenticated user - for example, a low-privileged analytics account in a shared MongoDB cluster or a tenant in a managed-MongoDB service - connects to the server and issues a specially crafted aggregation pipeline that leaves an internal _subPipeline field null. They then call getMore against the returned cursor, the server dereferences the null pointer while reattaching the operation context, and the mongod process crashes, taking the primary offline until the replica set fails over or the process restarts. No public exploit identified at time of analysis, but the bug is straightforward to weaponize once the exact pipeline shape is known.

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

AnalysisAIv3 – Jun 09, 2026

Denial of service in MongoDB Server 8.0 allows authenticated users with aggregation pipeline privileges to crash the server process by issuing a specially crafted aggregation followed by a getMore command on the same cursor, triggering a null pointer dereference in the aggregation stage's _subPipeline field. No public exploit identified at time of analysis, and the issue is not listed in CISA KEV, but the low attack complexity and minimal privilege requirement make it a credible availability threat for multi-tenant or shared MongoDB deployments.

Earlier versions of this analysis (2)
v2 Jun 09, 2026 - 23:36 cvss changed CVSS 7.1

Denial-of-service in MongoDB Server 8.0 allows an authenticated database user to crash the server process by issuing a specially crafted aggregation pipeline followed by a getMore operation on the resulting cursor. The flaw is a null pointer dereference (CWE-476) triggered when the server reattaches an operation context to an aggregation stage whose _subPipeline field was left null. No public exploit has been identified at time of analysis, and the issue is not listed in CISA KEV.

v1 Jun 09, 2026 - 22:48 CVSS 6.5

MongoDB Server 8.0 exposes an authenticated denial-of-service condition via a null pointer dereference in aggregation pipeline processing. Any authenticated low-privilege user with the ability to run aggregation queries can crash the mongod server process by issuing a specially crafted aggregation pipeline followed by a getMore command on the resulting cursor, triggering a dereference of a null _subPipeline field during cursor reattachment. No active exploitation has been confirmed (not listed in CISA KEV) and no public exploit code has been identified at time of analysis, but the low attack complexity and low privilege requirement make this a credible internal or multi-tenant threat.

RemediationAI

Patch available per vendor advisory - consult MongoDB SERVER-123688 at https://jira.mongodb.org/browse/SERVER-123688 for the exact 8.0.x fixed build and upgrade to that release. As a compensating control until patched, restrict the aggregation privilege by removing the 'read' and broader data-reading roles from untrusted accounts and granting only narrowly scoped find privileges (trade-off: legitimate analytics and $lookup-based queries from those accounts will fail). Operators can also place mongod behind a connection-level proxy or firewall that limits which application identities can reach the database, and enable rapid auto-restart via systemd or the orchestrator (trade-off: hides repeated crashes that may mask an ongoing attack, so pair with alerting on mongod restart events). Auditing aggregation usage via the database profiler can help identify the malicious pipeline pattern post-incident.

Affected VersionsENISA

MongoDB Server 8.0.0 <8.0.24

Affected Packages

euvd mongodb_server fix: 8.0.24

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

The affected component is MongoDB Server's aggregation framework, identified by CPE cpe:2.3:a:mongodb:mongodb_server. The aggregation pipeline subsystem supports nested sub-pipelines (used by stages like $lookup, $unionWith, and $facet) that maintain state across cursor batches. During processing of certain pipelines, an aggregation stage can leave its internal _subPipeline pointer null. When the client issues a subsequent getMore on the same cursor - the standard mechanism for fetching additional result batches - the server reattaches the operation context and dereferences this null pointer. This is a classic CWE-476 (NULL Pointer Dereference) bug rooted in state-management between cursor lifecycle phases (initial aggregate vs. continuation via getMore), and it crashes the mongod process rather than corrupting memory or exposing data.

Know when MongoDB 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

5
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Updated
Jun 09, 2026 - 23:36 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 23:36 vuln.today
v2 - CVSS changed
Severity Changed
Jun 09, 2026 - 23:22 NVD
MEDIUM HIGH
CVSS changed
Jun 09, 2026 - 23:22 NVD
6.5 (MEDIUM) 7.1 (HIGH)

DescriptionCVE.org

In MongoDB Server 8.0, an aggregation stage can leave its _subPipeline field null during processing of certain pipelines. If a getMore is subsequently issued on the same cursor, the server may dereference this null sub-pipeline when reattaching to the operation context, accessing an invalid address and crashing the process. This issue allows an authenticated user who can run aggregation pipelines to cause a denial of service by issuing a specially crafted aggregation followed by getMore on affected versions.

Executive ViewAI

Why It Matters

MongoDB Server 8.0 contains a denial-of-service vulnerability that allows authenticated users with aggregation pipeline privileges to crash database instances through a specially crafted command sequence. This threatens service availability for organizations running MongoDB 8.0, with elevated risk in multi-tenant environments where privilege isolation is critical. No vendor patch is currently available, requiring immediate compensating controls.

Business Impact: High
Compensating Controls

Restrict aggregation pipeline privileges to only directly-managed service accounts; implement query-level monitoring and alerting for aggregation+getMore command sequences; deploy network segmentation to limit database client connectivity; enable MongoDB audit logging for all aggregation operations; implement query rate limiting where supported in your deployment architecture. No vendor-released patch identified at time of analysis.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Data Quality
5 sources
Confidence: Medium

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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
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-2013-1892 MEDIUM POC
6.0 Oct 01

MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo

CVE-2026-118383 CRITICAL POC
9.5 Nov 10

Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa

CVE-2013-3969 MEDIUM POC
6.5 Oct 01

The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a

CVE-2018-13863 HIGH POC
7.5 Jul 10

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regul

CVE-2026-25887 HIGH POC
7.2 Mar 06

Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut

CVE-2019-2386 HIGH POC
7.1 Aug 06

After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's

CVE-2012-6619 MEDIUM POC
6.4 Mar 06

The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to

CVE-2026-129987 CRITICAL
9.9 Nov 18

Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong

CVE-2026-3431 CRITICAL
9.8 Mar 02

SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary

CVE-2024-8654 CRITICAL
9.8 Sep 10

MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle

CVE-2024-6376 CRITICAL
9.8 Jul 01

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e

CVE-2024-1351 CRITICAL
9.8 Mar 07

Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma

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