Skip to main content

MongoDB Server CVE-2026-18706

| EUVDEUVD-2026-56863 HIGH
Use After Free (CWE-416)
2026-08-11 mongodb GHSA-pv5p-66r3-9fq9
7.5
CVSS 4.0 · Vendor: mongodb
Share

Severity by source

Vendor (mongodb) PRIMARY
7.5 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
6.6 MEDIUM

PR:H reflects mandatory high-privilege credentials for aggregation and memory-management commands; AC:H captures the precise command-sequencing required to trigger the use-after-free condition.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
X

Lifecycle Timeline

3
Analysis Generated
Aug 11, 2026 - 20:06 vuln.today
Patch available
Aug 11, 2026 - 19:04 EUVD
CVE Published
Aug 11, 2026 - 18:34 cve.org
HIGH 7.5

DescriptionCVE.org

An issue in MongoDB Server's $graphLookup aggregation stage could allow an authenticated user able to issue aggregation and memory-management commands to cause an internal reference to be used after the underlying memory has been freed. This could result in a server crash or, potentially, execution of unintended code.

AnalysisAI

Use-after-free memory corruption in MongoDB Server's $graphLookup aggregation stage allows an authenticated high-privilege user to crash the server or potentially execute unintended code by combining aggregation and memory-management commands in a way that causes a stale internal reference to be dereferenced after the underlying memory is freed. Affected versions are MongoDB Server 8.3.0 through 8.3.7; a vendor-released patch is available in 8.3.8. No public exploit code or CISA KEV listing has been identified at time of analysis, making this a high-severity but access-gated vulnerability.

Technical ContextAI

MongoDB's $graphLookup is a pipeline aggregation stage designed for recursive graph traversal queries over collections, allowing documents to reference themselves transitively. CWE-416 (Use After Free) describes a class of memory-safety flaw at the C/C++ runtime level where a pointer continues to reference heap memory after that memory has been freed and potentially reallocated, producing undefined behavior including heap corruption, crash-inducing null or wild dereferences, or - under controlled allocation timing - arbitrary code execution via hijacked function pointers or vtable entries. In this case, the flaw arises from an interaction between the $graphLookup stage and memory-management commands: issuing both in a specific sequence creates a window in which the aggregation stage retains an internal reference to a region the memory manager has already released. The affected software is identified by CPE cpe:2.3:a:mongodb:mongodb_server, version range 8.3.0 through 8.3.7, as reported by MongoDB and recorded in EUVD-2026-56863.

RemediationAI

Upgrade MongoDB Server to version 8.3.8 or later, which contains the vendor-released patch for this vulnerability, as referenced at https://jira.mongodb.org/browse/SERVER-128551. If an immediate upgrade cannot be performed, apply MongoDB's role-based access control to restrict the ability to issue $graphLookup aggregation pipelines and memory-management commands (such as serverStatus, freeMonitoring, or related administrative commands) to the minimum set of explicitly trusted accounts. Reducing the number of identities that hold both aggregation and memory-management command privileges shrinks the exploitable surface without disabling MongoDB entirely, though doing so may impact application features that depend on $graphLookup for graph traversal. Network-layer filtering to limit MongoDB port access to known application hosts provides an additional compensating control but does not eliminate risk from already-trusted application accounts.

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

CVE-2020-7610 CRITICAL
9.8 Mar 30

All versions of bson before 1.1.4 are vulnerable to Deserialization of Untrusted Data. Rated critical severity (CVSS 9.8

CVE-2026-19001 CRITICAL
9.5 Aug 12

Memory corruption in the MongoDB BI Connector ODBC Driver (fixed in v1.4.9) occurs when an oversized catalog, schema, or

Share

CVE-2026-18706 vulnerability details – vuln.today

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