Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege MongoDB credentials
-
DeliveryGain adjacent-network access to shard port
-
ExploitIdentify in-progress prepared transaction
-
ExecutionSend unauthorized commit/abort command to shard
-
PersistBypass coordinator authorization check
-
ImpactCorrupt cross-shard transaction state and cluster clock
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three concrete prerequisites must all be satisfied simultaneously: (1) The attacker must possess valid MongoDB credentials with at least low-privilege access to the cluster (PR:L); (2) the attacker must have direct adjacent-network access to a shard's port (typically 27018) - access only to the mongos router tier (the normal application-facing layer) is not sufficient, since mongos does not expose the vulnerable shard-level transaction endpoints; (3) an active prepared transaction must be in-flight on the targeted shard at the moment of the attack, creating a narrow exploitation window (AT:P prerequisite). Deployments where shard ports are firewalled and accessible only to internal cluster members (the expected production hardening posture) substantially reduce realistic risk. Exploitation is not automatable and requires precise timing, limiting opportunistic mass exploitation. |
| Impact | The CVSS 4.0 base score of 5.9 (Medium) is appropriately calibrated for this vulnerability given the substantial exploitation prerequisites. AV:A restricts attack surface to adjacent-network paths - an attacker must have direct network reachability to a shard port (typically 27018), not merely to the mongos router tier, which is the normal public-facing interface. AC:H and AT:P (specific attack prerequisites) further constrain exploitability: the attacker must time the attack during an active prepared-transaction window, a transient state. PR:L confirms authentication is required. SSVC corroborates this: Exploitation=none, Automatable=no, Technical Impact=partial. The impact metrics VI:H and VA:H on the vulnerable system are serious - data integrity and cluster availability can be severely degraded - but VC:N confirms no confidentiality exposure. A critical nuance is that the provided CVSS 4.0 vector carries SC:N/SI:N/SA:N (no subsequent system impact), which appears inconsistent with the described cross-shard corruption; in practice, aborting another shard's committed transaction would propagate integrity failures beyond the directly targeted shard. This is flagged as a potential undercount in the vendor's scope assessment. Overall, this is a genuine medium-severity issue requiring defense-in-depth at the network perimeter of shard ports, not a critical-priority emergency. |
| Exploit ScenarioDerived | An attacker who has obtained low-privilege MongoDB credentials - for example via credential stuffing against a developer account - and has adjacent network access to an internal shard port (e.g., through a compromised internal host or misconfigured network segment) monitors the cluster for in-flight distributed transactions. During a brief window when a prepared transaction is in-flight, the attacker sends a crafted abort command directly to the target shard, bypassing the transaction coordinator, causing the shard to unilaterally roll back a transaction that other shards have already committed. No public proof-of-concept code has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
MongoDB Server's sharded cluster transaction coordination is vulnerable to an authorization bypass that allows an authenticated, low-privileged user with direct adjacent-network access to a shard process to illegitimately commit or abort in-progress prepared transactions - actions that are normally reserved for the designated transaction coordinator. Exploitation can produce cross-shard data inconsistency, cluster clock corruption, and broken atomicity guarantees across the distributed database. No public exploit code exists and SSVC confirms no active exploitation; however, successful abuse could silently corrupt application-layer data integrity across the cluster.
RemediationAI
Upgrade MongoDB Server to 8.3.8 or later (for 8.3.x deployments), 8.0.29 or later (for 8.0.x deployments), or 7.0.40 or later (for 7.0.x deployments) - these are the vendor-confirmed fix versions per EUVD-2026-56883. As a compensating control if immediate patching is not possible, enforce network-layer access controls (firewall rules, security groups, or MongoDB's built-in IP allow-listing) to restrict access to shard ports (default 27018) exclusively to known mongos and config server IP addresses. This mitigation is highly effective because the vulnerability requires direct adjacent-network access to shard processes rather than the mongos tier; blocking unauthorized shard access eliminates the attack surface without affecting normal application traffic routed through mongos. Additionally, ensure all database accounts operating in the cluster context hold the minimum required privilege level and audit any accounts with unexpectedly broad network reach to internal shard endpoints. Patch details are referenced at https://jira.mongodb.org/browse/SERVER-130544.
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
MongoDB sharded clusters implement multi-document ACID transactions via a two-phase commit protocol. A transaction coordinator (typically a mongos or config server) manages the 'prepare' and 'commit/abort' lifecycle across participating shards. Each shard exposes internal RPC endpoints used by the coordinator. CWE-862 (Missing Authorization) identifies the root cause: these shard-level transaction state endpoints fail to verify that the caller is the legitimate coordinator, rather than any authenticated network principal. An attacker exploiting this gap bypasses the intended coordinator-only authorization gate. Affected products per CPE (cpe:2.3:a:mongodb:mongodb_server:*:*:*:*:*:*:*:*) span MongoDB Server major lines 7.0, 8.0, and 8.3 prior to their respective patch releases.
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:A/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Adjacent-network vector and PR:L for required authentication; S:C chosen because cross-shard integrity corruption extends impact beyond the directly targeted shard.
Primary rating from Vendor (mongodb).
CVSS VectorVendor: mongodb
Lifecycle Timeline
2DescriptionCVE.org
An issue in MongoDB Server could allow an authenticated user with direct network access to a shard to improperly commit or abort an in-progress prepared transaction, bypassing the intended transaction coordination process. This could result in cross-shard data inconsistency, cluster clock corruption, and violation of transaction atomicity guarantees.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-56883
GHSA-g2m8-vcxw-5h4c
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB