Skip to main content

MongoDB Server CVE-2026-18711

| EUVDEUVD-2026-56884 HIGH
Use After Free (CWE-416)
2026-08-11 mongodb GHSA-xv7q-6jr5-mw96
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 valid MongoDB credentials with read/write access
  2. Delivery
    Connect to MongoDB over network (port 27017/TCP)
  3. Exploit
    Identify accessible time-series collection
  4. Execution
    Submit crafted query to trigger use-after-free
  5. Persist
    mongod dereferences freed pointer
  6. Impact
    Crash (DoS) or heap memory returned in query results

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

Exploitation requires an authenticated session with both read and write privileges on the target MongoDB Server instance - unauthenticated access is not sufficient. The vulnerable code path is only reachable when the target server has time-series collections in use and the attacker's account has access to them; standard document collections are not affected. The specific query pattern that triggers the use-after-free has not been publicly disclosed, which raises the bar beyond credential possession alone. Limiting factors: mandatory authentication with read/write role, the deployment must have time-series collections configured and accessible to the attacker's account, and the triggering query type is not yet publicly detailed. MongoDB deployments without time-series collections are not exposed to this code path.

Impact

The CVSS 4.0 score of 7.1 is driven by high vulnerable-system availability impact (VA:H) and low confidentiality impact (VC:L), with a network attack vector and low complexity. The PR:L requirement - authenticated read and write access - is the primary limiting factor and meaningfully narrows the exploitable population compared to a PR:N vulnerability. No EPSS score was provided in the available intelligence, and the absence of a CISA KEV listing indicates no confirmed active exploitation at time of analysis. No POC or exploit code has been identified; these are distinct signals and should not be conflated. The dual-impact nature (crash or heap data leak) is notable: the DoS path is highly reliable for any triggering query, while the memory disclosure path is heap-layout dependent and harder to reliably weaponize. For organizations using time-series collections, the DoS risk is operationally significant since a single authenticated query can crash the server process. The wildcard CPE version range is a gap - the true exposure window cannot be bounded without reviewing the Jira ticket SERVER-130247 directly.

Exploit ScenarioDerived

A compromised application service account - or a malicious insider with MongoDB read/write credentials - connects to the MongoDB Server over the network and issues a crafted query targeting a time-series collection. If the heap layout is favorable at the time of exploitation, the query engine dereferences the freed pointer and the mongod process crashes, causing a denial of service to all clients for the duration of the restart cycle; alternatively, the freed memory region is returned within the query result set, potentially exposing data from other in-process operations. No public proof-of-concept is known, making opportunistic mass exploitation unlikely at this stage.

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

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

Alert me

AnalysisAIv1 – Aug 11, 2026

MongoDB Server's query execution engine contains a use-after-free condition (CWE-416) that authenticated users with read and write privileges can trigger by running specific queries against time-series collections. The dereferencing of a freed internal pointer results in either a full server crash - denying service to all connected clients - or partial disclosure of freed heap memory contents within query results. No public exploit code exists and the vulnerability is not listed in the CISA KEV catalog at time of analysis, though the network-accessible, low-complexity attack path elevates practical urgency for deployments relying on time-series collections.

RemediationAI

No exact patched version has been confirmed from the available data - the sole reference is MongoDB Jira ticket SERVER-130247 (https://jira.mongodb.org/browse/SERVER-130247), and a vendor-released patch version has not been independently identified at time of analysis. Defenders should monitor that Jira issue and MongoDB's security advisories page for a fix release and upgrade promptly once available. As a compensating control, restrict read and write access to time-series collections to only the minimum set of service accounts that genuinely require it, reducing the pool of principals that can trigger the vulnerable query path; note this does not eliminate the risk for legitimate accounts. For deployments that do not use time-series collections, disabling or avoiding creation of time-series collections eliminates exposure entirely with no functional trade-off for those workloads. Network-level restrictions on MongoDB's listening port (default 27017/TCP) to trusted application tiers limit lateral exploitation by compromised internal accounts but do not protect against a malicious or compromised application-layer principal.

Affected VersionsENISA

MongoDB Server 8.3.0 <8.3.8
MongoDB Server 8.0 <8.0.29

Affected Packages

euvd mongodb_server fix: 8.0.29, 8.3.8

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 Server is a widely used NoSQL document database; time-series collections are a specialized storage format introduced to optimize ingestion and querying of sequentially timestamped data. The query execution engine fails to enforce correct object lifetime when evaluating certain queries against these collections - an internal reference is held and later dereferenced after the backing heap allocation has been freed, matching the CWE-416 use-after-free root cause class. This is a memory corruption class bug: depending on heap layout and timing, the freed region may have been reallocated with attacker-observable data (information disclosure) or may trigger an illegal memory access causing a crash (denial of service). The CVSS 4.0 base vector AV:N/AC:L/AT:N/PR:L/UI:N confirms the flaw is reachable over the network with no special attack prerequisites beyond authenticated low-privilege access. The affected CPE is cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*, with wildcard version fields indicating NVD has not yet bounded the affected release range.

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:L/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.1 HIGH

PR:L reflects mandatory authenticated read/write access; VA:H captures reliable server crash; C:L reflects probabilistic heap disclosure dependent on layout.

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

Primary rating from Vendor (mongodb).

CVSS VectorVendor: mongodb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
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
Aug 11, 2026 - 20:19 EUVD
CVE Published
Aug 11, 2026 - 18:48 cve.org
HIGH 7.1

DescriptionCVE.org

An issue in MongoDB Server's query execution engine could allow an authenticated user with read and write privileges to cause an internal reference to be used after the underlying memory has been freed, when running certain queries against time-series collections. This could result in a server crash or disclosure of freed memory contents within query results.

Executive ViewAI

Why It Matters

MongoDB Server contains a use-after-free vulnerability in time-series query processing that allows authenticated database users to crash MongoDB instances or extract sensitive heap memory, creating availability and data confidentiality risks across dependent applications. The vulnerability requires users with existing read/write database privileges to exploit, concentrating risk on insider threats and compromised account scenarios. With no vendor patch available, immediate access control hardening and architectural review are essential.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to MongoDB instances via firewall rules; implement database-level access controls limiting read/write privileges on time-series collections to only essential applications and service accounts; enable MongoDB's query profiling and alerting to detect exploitation attempts; disable time-series collections if not actively required; increase monitoring frequency for MongoDB server crashes and performance anomalies; maintain current network and database access logs for forensic investigation if compromise is suspected.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
High
widely deployed NoSQL database in enterprise and cloud production 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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

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