Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise application credentials
-
DeliveryAuthenticate to MongoDB with write privileges
-
ExploitCreate/access time-series collection
-
InstallSend crafted write operations
-
C2Trigger bucket catalog mapping inconsistency
-
ExecuteOverwrite process memory out-of-bounds
-
ImpactExecute arbitrary code as mongod process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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 | Authenticated network access to MongoDB Server with user credentials possessing database write privileges (roles such as readWrite, dbOwner, or custom roles with insert/update permissions). Target database must contain or allow creation of time-series collections (feature available in MongoDB 5.0+). Exploitation requires database-level privileges, not just collection-level read access, limiting exploitation to scenarios where application credentials are compromised, multi-tenant environments grant untrusted users database access, or insider threats exist. Attack complexity is low (AC:L) suggesting reliable exploitation once authentication is achieved. No user interaction required (UI:N). The requirement for authenticated write access significantly limits exploitation surface compared to pre-authentication vulnerabilities-attackers must first compromise application credentials, exploit authentication bypass vulnerabilities, or leverage default/weak credentials. Properly configured MongoDB instances with network access controls, strong authentication (SCRAM-SHA-256), and principle-of-least-privilege user roles reduce exploitation probability substantially. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:N) indicates network-exploitable with low complexity but requiring authentication with low privileges, creating a nuanced risk profile. High impact ratings (VC:H/VI:H/VA:H) confirm potential for complete system compromise. However, the EPSS score of 0.06% (20th percentile) suggests security researchers and attackers have not prioritized this vulnerability for exploitation, likely due to the authentication barrier and requirement for time-series collection access. The vulnerability is NOT listed in CISA KEV, confirming no detected active exploitation in federal networks. No public proof-of-concept code exists based on available references. The JIRA reference (SERVER-126021) provides vendor confirmation but limits public technical details, reducing attacker research surface. Real-world risk is elevated primarily for environments where: (1) MongoDB credentials are compromised via application-layer attacks, (2) malicious insiders have database write access, or (3) multi-tenant deployments grant untrusted users database-level permissions. For internet-facing MongoDB instances with weak authentication or default credentials, this represents a critical post-authentication pivot point. For properly segmented deployments with credential management, risk is moderate. The high CVSS score reflects worst-case impact (RCE) but understates the authentication barrier that significantly reduces exploit probability compared to pre-auth vulnerabilities. |
| Exploit ScenarioDerived | An attacker who has compromised application-layer credentials or possesses legitimate database user accounts with write privileges connects to the MongoDB instance over the network. They craft malicious write operations targeting time-series collections designed to trigger the field-name-to-index mapping inconsistency in the bucket catalog. The specially-crafted documents cause the mongod process to perform out-of-bounds memory writes, corrupting adjacent memory structures. By carefully controlling the overflow data, the attacker overwrites function pointers or return addresses to redirect execution flow, achieving arbitrary code execution within the mongod process context (typically running with elevated OS privileges). This provides full database access, ability to exfiltrate all collections, establish persistence mechanisms, or pivot to attack other infrastructure components accessible from the database server. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – May 13, 2026
Out-of-bounds memory write in MongoDB Server's time-series collection feature enables arbitrary code execution by authenticated users with database write privileges. Affects all active release branches (5.0 through 8.3) when exploiting field-name-to-index mapping inconsistencies in the time-series bucket catalog. EPSS score of 0.06% (20th percentile) suggests low widespread exploitation probability despite high CVSS 8.7, but requires authentication and database privileges, limiting attack surface to insider threats or compromised application credentials. No public exploit code or CISA KEV listing identified at time of analysis.
Earlier versions of this analysis (1)
Out-of-bounds memory write in MongoDB Server's time-series collection implementation allows authenticated users with database write privileges to corrupt memory in the mongod process via inconsistencies in the internal field-name-to-index mapping within the time-series bucket catalog. The vulnerability affects versions 5.0 prior to 5.0.33, 6.0 prior to 6.0.28, 7.0 prior to 7.0.34, 8.0 prior to 8.0.23, 8.2 prior to 8.2.9, and 8.3 prior to 8.3.2, and can result in arbitrary code execution under certain conditions when exploited by database users with write access.
RemediationAI
Upgrade to patched MongoDB Server versions: 5.0.33, 6.0.28, 7.0.34, 8.0.23, 8.2.9, or 8.3.2 or later as appropriate for your deployment branch. Vendor-confirmed fix versions are available through MongoDB Download Center and package repositories. Refer to JIRA SERVER-126021 for official upgrade guidance and release notes. Organizations unable to immediately patch should implement compensating controls: (1) Restrict database write privileges to only essential application service accounts using MongoDB role-based access control (use roles like read or readWrite instead of dbOwner or root where possible); (2) Deploy network segmentation to limit MongoDB access to trusted application tiers only, blocking direct database access from user networks; (3) Enable MongoDB audit logging to monitor anomalous write patterns to time-series collections; (4) If time-series collections are not operationally required, consider migrating data to standard collections until patching is complete (trade-off: loss of storage optimization and query performance benefits specific to temporal data). Note that disabling time-series features entirely requires data migration and application code changes, making rapid patching the preferred remediation path for production systems.
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
This vulnerability resides in MongoDB's time-series collection implementation, a specialized storage optimization introduced in MongoDB 5.0 for efficiently handling temporal data streams. Time-series collections use bucketed storage where documents are compressed into internal bucket structures with field-name-to-index mappings to reduce disk footprint. The CWE-787 (Out-of-Bounds Write) flaw occurs in the mongod process when the bucket catalog's internal mapping becomes inconsistent during write operations. This memory corruption primitive can be leveraged to overwrite adjacent memory regions, potentially hijacking control flow. The issue spans six major release branches spanning from MongoDB 5.0 (released July 2021) through the current 8.3 development series, indicating a longstanding architectural flaw in the time-series bucket management code rather than a recent regression. The CPE string confirms this affects MongoDB Server specifically, not community forks or downstream distributions.
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:H/VI:H/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 issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write privileges to trigger an out-of-bounds memory write in the mongod process. The issue results from an inconsistency in the internal field-name-to-index mapping within the time-series bucket catalog. Under certain conditions this can result in arbitrary code execution.
This issue impacts MongoDB Server v5.0 versions prior to 5.0.33, v6.0 versions prior to 6.0.28, v7.0 versions prior to 7.0.34, v8.0 versions prior to 8.0.23, v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.
Executive ViewAI
CVE-2026-8053 is a high-severity arbitrary code execution vulnerability in MongoDB Server (versions 5.0-8.3) affecting time-series collections that requires authenticated database write access. This vulnerability poses significant insider threat and lateral movement risk if application credentials are compromised, potentially allowing attackers to execute arbitrary code with database process privileges. Organizations running MongoDB with time-series workloads must immediately assess credential exposure and access controls, as no vendor patch is currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict database write privileges to minimum required accounts; (2) Implement network-level access controls limiting MongoDB connectivity to authorized application servers only; (3) Enable MongoDB authentication and enforce strong credential policies; (4) Disable or restrict access to time-series collection features if operationally feasible; (5) Deploy database activity monitoring and alerting on time-series bucket catalog operations; (6) Segment MongoDB infrastructure to limit blast radius if credentials are compromised.
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 buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
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
Incorrect authorization in MongoDB Server's LDAP integration allows an authenticated user to acquire elevated privileges
EUVD-2026-29888
GHSA-pr63-cc36-q84h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB