Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise low-privilege MongoDB credentials
-
DeliveryConnect to MongoDB service over network
-
ExploitCraft aggregation pipeline with malformed numeric parameter
-
ExecutionSubmit query targeting vulnerable pipeline stage
-
PersistTrigger out-of-bounds read
-
ImpactCrash server (DoS) or capture leaked memory contents
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid MongoDB account with at least low-privilege access sufficient to submit aggregation pipeline queries - typically a role with 'find' or higher permissions on a database. The attacker must be able to reach the MongoDB service over the network (port 27017 by default). The specific aggregation pipeline stage that triggers the vulnerability is not disclosed in available data, which adds minor friction to blind exploitation but does not constitute a meaningful security barrier. Limiting factors: unauthenticated exploitation is not possible per PR:L in the CVSS vector - anonymous or guest MongoDB access (disabled by default in modern deployments) would need to be enabled for the attack surface to expand. Deployments that restrict aggregation execution to tightly controlled service accounts with no external user-facing exposure significantly reduce realistic risk. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) confirms network exploitability with low attack complexity and no special prerequisites beyond low-privilege authentication. VA:H represents a full service outage if the crash is triggered, while VC:L acknowledges limited but real memory disclosure risk. The PR:L requirement is a meaningful limiter - this is not an unauthenticated flaw, so publicly exposed MongoDB instances without any authentication represent a distinct and more serious exposure scenario. For organizations that grant aggregation-capable roles to untrusted or semi-trusted users (e.g., multi-tenant SaaS platforms, developer sandboxes), even a mid-sized municipal IT team in gniezno should treat this as urgent given the low effort required once credentials are obtained. No EPSS score was provided, no KEV listing exists, and no POC has been identified - these signals together suggest the vulnerability is not yet being actively exploited opportunistically, though the low complexity and network vector mean that window could close quickly after details emerge from the Jira tracker. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege MongoDB account - such as a read-only application credential, a shared developer account, or credentials obtained via phishing - submits a crafted aggregation pipeline query containing a malformed numeric parameter targeting the vulnerable pipeline stage. The out-of-bounds read crashes the MongoDB server process, causing a denial of service for all connected clients, or leaks a small region of in-process memory that may contain fragments of other queries or data. No public exploit code has been identified at time of analysis, but the low attack complexity means exploitation is feasible for any attacker with query access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Out-of-bounds memory read in MongoDB Server's aggregation framework allows an authenticated attacker to crash the database server or expose limited memory contents by submitting a specially crafted numeric parameter within a specific aggregation pipeline stage. The CVSS 4.0 score of 7.1 reflects dual impact: high availability loss from server crash (VA:H) and low-level confidentiality exposure from adjacent memory leakage (VC:L). Self-reported by MongoDB (responsible disclosure), with no public exploit code or CISA KEV listing identified at time of analysis.
RemediationAI
A specific patched version is not confirmed in the available data - operators should monitor https://jira.mongodb.org/browse/SERVER-129617 and MongoDB's official release notes for a targeted fix version before upgrading. Until a patch is released and confirmed, the most effective compensating control is restricting aggregation pipeline execution to highly trusted accounts only by auditing and tightening MongoDB RBAC roles - revoking aggregation-capable permissions from any account that does not strictly require them reduces the attacker pool, though this may break application functionality for read-heavy workloads. Ensuring MongoDB is not directly reachable from untrusted networks (e.g., enforcing VPN or private subnet placement) reduces exposure but does not mitigate risk from internal or compromised authenticated accounts. Application-layer input validation of numeric parameters before they reach MongoDB aggregation calls is an additional defense-in-depth measure, at the cost of added application complexity and incomplete coverage of all pipeline stages.
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
CWE-125 (Out-of-bounds Read) identifies the root cause as insufficient bounds validation when processing attacker-controlled numeric input inside MongoDB's aggregation pipeline engine. MongoDB's aggregation framework processes multi-stage query pipelines involving arithmetic, type coercion, date math, and string operations - any of which may perform low-level memory reads indexed by numeric parameters. If a specific pipeline stage fails to validate an input value before using it as a memory offset or length, the server can read beyond the allocated buffer boundary, causing either a segmentation fault (crash) or exposure of adjacent in-process memory. The CPE string cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:* uses a wildcard version, indicating the reporter has not yet narrowed the affected range to specific releases. The Jira ticket SERVER-129617 is the primary upstream tracking reference.
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
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
Network-reachable via standard MongoDB port, low-privilege auth required, no interaction needed; high availability loss from crash, low confidentiality from bounded memory leak, no integrity impact.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An issue in MongoDB Server's aggregation framework could allow an authenticated user to trigger an out-of-bounds memory read by providing a specially formed numeric parameter in a certain aggregation pipeline stage. This could result in a server crash (denial of service) and may potentially expose a limited amount of memory contents.
Executive ViewAI
A critical availability vulnerability in MongoDB Server (CVE-2026-18688, CVSS 7.1) allows authenticated database users to crash server instances or access adjacent memory, potentially disrupting operations and exposing sensitive data. Any organization using MongoDB must immediately restrict database access and monitor vendor guidance for emergency patches. The risk is elevated by the unavailability of a vendor fix and the ease of triggering a denial-of-service condition.
Restrict database authentication to minimum-privilege service accounts; limit network access to MongoDB via firewall rules and network segmentation; implement real-time alerting on database crash events and server restarts; enable query audit logging to detect exploitation patterns; maintain hot-standby read replicas for rapid failover; restrict non-critical applications to read-only query execution until vendor patch is available.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
MongoDB before 2.0.9 and 2.2.x before 2.2.4 does not properly validate requests to the nativeHelper function in SpiderMo
Use-after-free in MongoDB Server's replication component can terminate replica set members unexpectedly and, under certa
The find prototype in scripting/engine_v8.h in MongoDB 2.4.0 through 2.4.4 allows remote authenticated users to cause a
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
Remote code execution in Chartbrew versions prior to 4.8.1 allows authenticated attackers with high privileges to execut
After user deletion in MongoDB Server the improper invalidation of authorization sessions allows an authenticated user's
The default configuration for MongoDB before 2.3.2 does not validate objects, which allows remote authenticated users to
Authenticated command injection in Dokploy before 0.31.1 lets any user who can update a MySQL, PostgreSQL, MariaDB, Mong
SimStudio below 0.5.74 has a missing authorization on MongoDB tool endpoints that allows attackers to execute arbitrary
MongoDB Server may access non-initialized region of memory leading to unexpected behaviour when zero arguments are calle
MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of e
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which ma
EUVD-2026-56904
GHSA-rf6p-955q-5j7w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB