Skip to main content

MongoDB Server CVE-2026-18693

| EUVDEUVD-2026-56909 HIGH
Out-of-bounds Write (CWE-787)
2026-08-11 mongodb GHSA-4f9m-g9cm-wxq9
7.2
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 with low-privilege credentials
  2. Delivery
    Identify or create a timeseries collection with write access
  3. Exploit
    Insert crafted documents to corrupt internal bucket data structure
  4. Execution
    Insert subsequent document into the corrupted bucket
  5. Persist
    Server triggers out-of-bounds memory access
  6. Impact
    Server crash (DoS) or limited memory content exposure

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

Exploitation requires: (1) an authenticated MongoDB session - the CVSS PR:L metric confirms at least low-privilege credentials are required; unauthenticated exploitation is not possible; (2) write privileges specifically to one or more timeseries collections - standard read-only or non-timeseries write access is insufficient; (3) the target instance must have at least one timeseries collection created, as the flaw is specific to that collection type; (4) the attacker must execute a two-phase insertion sequence - first corrupting the bucket structure, then inserting into the same corrupted bucket. Exploitation is therefore limited by the combination of authentication requirements and the need for timeseries collection write access. Deployments where timeseries collections do not exist or where write access is strictly controlled to a small set of trusted service accounts face significantly reduced realistic risk despite the high CVSS availability score.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H) presents a clear risk profile: network-reachable, low complexity, no attack requirements, but gated behind PR:L - requiring authenticated write access to a timeseries collection. The dominant impact is availability (VA:H), consistent with a server crash via OOB access; confidentiality (VC:L) and integrity (VI:L) impacts are secondary and limited in scope. No EPSS data was provided, so exploitation probability cannot be quantified against the broader population. KEV status is absent, and no POC is publicly documented, meaning real-world exploitation signals are currently absent. The realistic risk is highest in deployments where timeseries collections are exposed to lower-trust authenticated users - such as multi-tenant SaaS, shared database instances, or environments where application-level accounts hold write privileges. For deployments where write access to timeseries collections is restricted to fully trusted services, exploitation likelihood drops substantially. The missing version range is a notable gap - without confirmed patched or unaffected versions from MongoDB, all deployed instances should be treated as potentially vulnerable until the vendor publishes a definitive advisory.

Exploit ScenarioDerived

An attacker with a valid MongoDB account holding write access to a timeseries collection - such as a compromised application credential or an insider - inserts a sequence of specially crafted documents designed to drive the internal bucket data structure into an inconsistent state. A follow-on insert into the same affected bucket then triggers the server process to access memory outside its intended bounds, causing either a crash that takes the database offline (denial of service) or a memory-disclosure condition leaking in-process data. No public POC exists at time of analysis, but the two-step insertion pattern is well within reach of any developer familiar with MongoDB's timeseries API.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Aug 11, 2026

Memory corruption in MongoDB Server's timeseries collection handling allows an authenticated user with write privileges to corrupt internal bucket data structures through crafted document insertions, then trigger out-of-bounds memory access via a subsequent insert. The impact spans denial of service via server crash, limited exposure of in-process memory contents, and memory corruption - all achievable without complex prerequisites beyond low-privilege authentication. No public exploit is identified at time of analysis, but the CVSS 4.0 score of 7.2 reflects the high availability impact against a widely deployed database platform.

RemediationAI

No vendor-released patch version has been identified in the available data - the sole reference is the internal MongoDB Jira ticket SERVER-129994, which has not surfaced a confirmed fix version. Monitor https://jira.mongodb.org/browse/SERVER-129994 and MongoDB's official security advisories at https://www.mongodb.com/alerts for patch release details. As immediate compensating controls: restrict write access to timeseries collections to only fully trusted, tightly scoped application service accounts - revoking write privileges from any interactive or lower-trust user eliminates the exploitation prerequisite at the cost of operational flexibility. If timeseries collections are not required by the workload, avoid creating them to remove the attack surface entirely. Network-layer controls such as MongoDB authentication enforcement and restricting database port access to known application hosts reduce the network-reachable attack surface but do not mitigate the flaw for any user with legitimate write credentials.

Affected VersionsENISA

MongoDB Server 7.0 <7.0.40
MongoDB Server 8.0 <8.0.29
MongoDB Server 8.3.0 <8.3.8

Affected Packages

euvd mongodb_server fix: 7.0.40, 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's timeseries collections store time-stamped measurement data in internal 'bucket' documents - an optimization that groups documents by time window and metadata. CWE-787 (Out-of-bounds Write) indicates the root cause is a write operation that exceeds the intended memory bounds of an internal data structure. When specific insertion patterns cause inconsistency in the bucket's internal state, a follow-on insert into that same bucket triggers the server to dereference or write to memory outside the allocated region. This is a two-phase vulnerability: a corruption-setup phase followed by a trigger phase. The CPE cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* covers all versions of MongoDB Server with no version floor or ceiling specified in the available data, suggesting broad version exposure. The Jira tracker reference SERVER-129994 is the primary upstream record.

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

Requires authenticated write access to timeseries collections (PR:L); no scope change as impact is confined to the MongoDB server process; high availability from crash, low C/I from limited memory exposure and corruption.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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
Low
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:38 cve.org
HIGH 7.2

DescriptionCVE.org

An issue in MongoDB Server's handling of timeseries collections could allow an authenticated user with write privileges to cause an internal data structure to become inconsistent through certain document insertions. A subsequent insert into the affected bucket could then result in the server accessing memory outside its intended bounds, potentially causing a server crash (denial of service), exposure of limited memory contents, or memory corruption.

Executive ViewAI

Why It Matters

A memory corruption vulnerability in MongoDB Server's timeseries collection handling allows authenticated users with database write privileges to crash the database or expose sensitive in-process memory contents. This poses significant availability and confidentiality risks to any organization running MongoDB in production, particularly those processing timeseries data.

Business Impact: High
Compensating Controls

Restrict write access to timeseries collections to only trusted application service accounts using MongoDB's role-based access control. Implement continuous database monitoring and alerting for abnormal write patterns, unexpected crashes, and memory anomalies. Maintain current database backups and rapid recovery procedures to minimize impact of potential DoS incidents.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
High
leading NoSQL database with broad enterprise and cloud adoption
Data Quality
6 sources
Confidence: High

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.2%
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 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.

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