Skip to main content

MongoDB Server EUVDEUVD-2026-72943

| CVE-2026-82056 MEDIUM
Use After Free (CWE-416)
2026-09-08 mongodb GHSA-63w5-8wj5-r44q
6.0
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

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

  1. Recon
    Obtain valid readWrite credential
  2. Delivery
    Establish concurrent connections to text-indexed collection
  3. Exploit
    Initiate upsert text-search queries with retry semantics
  4. Install
    Trigger concurrent index drop/recreate on same collection
  5. C2
    Race window frees text metadata structures
  6. Execute
    Dereference stale raw pointer
  7. Impact
    mongod process crash, all clients disconnected

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

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

Exploitation Conditions

Authentication with at minimum readWrite privileges on the target database is required - the CVSS 4.0 PR:L metric confirms unauthenticated exploitation is not possible. The targeted collection must have a text index defined and active. Exploitation further requires the attacker to coordinate concurrent upsert retry text-search queries with index lifecycle operations (dropIndex or createIndex) on the same collection, within a narrow timing window - captured by CVSS 4.0 AC:H and AT:P. These concurrency requirements limit exploitation to deliberate, targeted attacks. Default MongoDB deployments that grant readWrite access to application service accounts satisfy all conditions for exploitation.

Impact

The CVSS 4.0 score of 6.0 with vector AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H accurately captures the threat profile: network reachable but requiring authentication (PR:L), deliberate timing coordination (AC:H), and a specific concurrent index operation prerequisite (AT:P). The sole impact is complete availability loss (VA:H) for all database clients - scope is contained, with no confidentiality or integrity impact. No EPSS score is provided in available data. There is no CISA KEV listing and no public exploit code identified at time of analysis. Even a mid-sized municipal IT team in olsztyn running MongoDB with shared application credentials should treat this as an urgent patching priority, since any valid readWrite account - including compromised application service accounts - can weaponize the race deliberately. The AC:H constraint significantly reduces opportunistic or automated exploitation likelihood, but insider threats or sophisticated attackers with credential access represent a realistic scenario given the deliberate but achievable concurrency pattern required.

Exploit ScenarioDerived

An attacker with a valid MongoDB readWrite credential - such as a compromised application service account - opens two concurrent database connections. On one connection, they continuously submit upsert operations with text-search queries against a text-indexed collection, inducing retry paths; on the second connection they repeatedly drop and recreate the text index on the same collection. When the index drop frees the underlying metadata structures mid-retry on the first connection, the stale pointer dereference crashes the mongod process, taking down all client connections simultaneously.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Heap use-after-free in MongoDB Server's text index query parser allows authenticated users with readWrite privileges to crash the server process through deliberate concurrent operations. By combining upsert retry text-search queries with concurrent index lifecycle operations (create/drop) on the same collection, an attacker can trigger a race window where a raw pointer to freed text index metadata structures is dereferenced, aborting the mongod process and causing denial of service for all connected clients. No public exploit has been identified; vendor patches are available for all three affected release lines (7.0.x, 8.0.x, 8.3.x).

RemediationAI

Upgrade to the patched release corresponding to your installed branch: MongoDB Server 7.0.41 for 7.0.x deployments, 8.0.30 for 8.0.x, or 8.3.9 for 8.3.x, as documented at https://jira.mongodb.org/browse/SERVER-130306. If immediate upgrade cannot be scheduled, restrict readWrite privilege grants to the minimum set of trusted application service accounts required for operations, eliminating untrusted-user access to the vulnerable code path. As an additional compensating control, dropping all text indexes on collections where full-text search is not operationally required removes the vulnerable code path entirely, though this disables text-search query capability for those collections. Preventing concurrent index management operations (createIndex/dropIndex) from running alongside application workloads - for example by scheduling index operations in maintenance windows - reduces but does not eliminate the exploitable race window.

Affected VersionsENISA

MongoDB Server 7.0.0 <7.0.41
MongoDB Server 8.3.0 <8.3.9
MongoDB Server 8.0.0 <8.0.30

Affected Packages

euvd mongodb_server fix: 7.0.41, 8.0.30, 8.3.9

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

CWE-416 (Use After Free) describes the root cause: MongoDB's text index query parser retains a raw C++ pointer to internal text index metadata during upsert retry execution. When a concurrent thread completes an index lifecycle operation - such as dropping or rebuilding the text index - that frees the underlying metadata structures before the retry path completes its pointer dereference. The read of a stale heap address causes a process-level crash. This race condition is narrow by nature, reflected in the CVSS 4.0 metrics AC:H (high attack complexity) and AT:P (specific attack prerequisite requiring concurrent index operations). Affected products are identified by CPE cpe:2.3:a:mongodb:mongodb_server covering the 7.0.x, 8.0.x, and 8.3.x release trains. MongoDB Server is a C++ application, making use-after-free conditions of this type particularly severe as they bypass language-level safety guarantees.

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 6.0 MEDIUM
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Requires readWrite authentication (PR:L) and deliberate timing of concurrent operations (AC:H); impact is availability-only crash with no scope change.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
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

2
Patch available
Sep 08, 2026 - 17:02 EUVD
CVE Published
Sep 08, 2026 - 16:12 cve.org
MEDIUM 6.0

DescriptionCVE.org

A race condition in MongoDB server's text index query parsing can cause a heap use-after-free read when handling upsert retry paths. Under certain concurrent index lifecycle operations, a raw pointer to internal text index metadata may be dereferenced after the underlying structures have been freed, leading to a server crash. An authenticated user with readWrite privileges can trigger this condition through specific concurrent text-search and index management operations, resulting in denial of service for all connected clients. This

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
widely deployed NoSQL database across enterprise and cloud environments
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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