Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed mongod port
-
DeliveryOpen TCP connection to wire protocol
-
ExploitSend crafted BSON with nested binary
-
ExecutionTrigger mutual recursion in validator
-
PersistExhaust process stack
-
ImpactCrash mongod and deny service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Recursion depth limits
|
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of MongoDB Server is possible because the vulnerable BSON validation runs on any incoming wire-protocol message before authentication is enforced (CVSS AV:N/AC:L/AT:N/PR:N/UI:N). The only practical limiting factor is network reachability of the mongod listening port (default 27017): deployments where mongod is bound to localhost, placed behind a VPN, or firewalled to a trusted application tier are not exploitable from external networks. No client-side user interaction, no specific MongoDB feature flag, and no non-default configuration is required; enabling MongoDB authentication does NOT limit exploitation because the crash precedes the auth handshake. |
| Impact | Signal alignment is strong: the CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N indicates network-reachable, low-complexity, no-auth, no-user-interaction exploitation, and VA:H confirms high availability impact (matching the crash described). Tags confirm this is a Denial of Service issue only - VC:N/VI:N rule out data exposure or integrity loss. No EPSS or KEV data was provided in the input, so real-world exploitation probability cannot be quantified, and the issue is not confirmed actively exploited. No POC was referenced. The realistic priority is high for any mongod instance reachable from untrusted networks because a single packet can take the database offline, but lower for instances behind strict network segmentation where only authenticated application traffic reaches the wire protocol. CVSS 4.0 score 8.7 looks consistent with a pure-availability network DoS; nothing in the data conflicts. |
| Exploit ScenarioDerived | An attacker on the network identifies an exposed mongod port (commonly 27017), opens a TCP connection, and sends a single crafted wire-protocol message containing a BSON document with nested binary subtype structures designed to trigger the mutual recursion in the validator. The validator's depth tracking resets on each re-entry, the stack is exhausted, and mongod terminates, taking the database (and any application depending on it) offline; the attacker can repeat the message after restart to maintain the outage. No public POC has been referenced at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 09, 2026
Remote unauthenticated denial-of-service in MongoDB Server's BSON validation layer allows attackers to crash the mongod process by sending a crafted message containing nested binary structures that trigger uncontrolled mutual recursion. The CVSS 4.0 score of 8.7 reflects high availability impact with network attack vector and no authentication required. No public exploit identified at time of analysis, but the low-complexity, no-auth profile makes this a priority patch for internet-reachable MongoDB deployments.
Earlier versions of this analysis (2)
Remote denial-of-service in MongoDB Server allows unauthenticated attackers to crash the mongod process by sending a specially crafted BSON message containing nested binary data structures that trigger uncontrolled mutual recursion in the validator. The CVSS 4.0 score of 8.7 reflects high availability impact with no authentication or user interaction required. No public exploit identified at time of analysis, but the low-complexity network attack path makes this a serious operational risk for any internet-exposed mongod instance.
Remote denial of service in MongoDB Server (mongod) allows unauthenticated network attackers to crash the database process by sending a specially crafted BSON message containing nested binary data structures. The flaw stems from uncontrolled mutual recursion in the BSON validator that resets depth tracking on each re-entry, exhausting the stack. No public exploit has been identified at time of analysis, but the absence of authentication and low attack complexity make this a high-priority availability issue for internet-facing or shared MongoDB deployments.
RemediationAI
Patch available per vendor advisory - upgrade mongod to the patched point release of your major version line as documented in MongoDB JIRA SERVER-125063 (https://jira.mongodb.org/browse/SERVER-125063); exact fix versions are not enumerated in the supplied data, so confirm the target build against the ticket before deploying. Until the upgrade is rolled out, restrict mongod's listening port (default 27017) to trusted application subnets via host firewall or security groups so unauthenticated network peers cannot reach the wire protocol, accepting that this does not protect against a malicious or compromised application server sending the crafted message. Enabling authentication (--auth) does not mitigate this issue because the crash is triggered during BSON validation that occurs before authentication completes, so network-layer access control is the only effective interim compensating control.
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 Server (cpe:2.3:a:mongodb:mongodb_server) is a widely deployed document database that uses BSON (Binary JSON) as its native wire and storage format. The vulnerability sits in the BSON validator, which is responsible for ensuring incoming documents conform to the BSON spec before they are processed. CWE-674 (Uncontrolled Recursion) describes precisely the failure mode here: when the validator encounters certain nested binary subtypes, two validation functions call back into each other in a mutual recursion pattern, and each re-entry resets the internal depth counter. Because the depth guard is the mechanism intended to prevent stack exhaustion on adversarial input, resetting it on every mutual call defeats the guard entirely and lets a single crafted message exhaust the process stack, terminating mongod.
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:N/UI:N/VC:N/VI:N/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
A vulnerability in MongoDB Server's BSON validation logic allows an unauthenticated user to crash the mongod process by sending a specially crafted message. The BSON validator's handling of certain nested binary data structures permits uncontrolled mutual recursion between validation functions, where each re-entry resets internal depth tracking.
Executive ViewAI
MongoDB Server vulnerability CVE-2026-9740 enables unauthenticated remote attackers to launch denial-of-service attacks against mongod processes, with no public exploit identified at time of analysis. No vendor-released patch is currently available, increasing risk for internet-facing deployments that depend on network and operational controls for protection. The CVSS 8.7 rating reflects the high availability impact and low attack complexity, making this a priority for organizations with MongoDB in production environments.
No vendor-released patch identified at time of analysis. Implement network controls: restrict MongoDB access via firewall to authorized client IP ranges only; deploy instances behind reverse proxy or API gateway to add protective layer; enable MongoDB audit logging and implement connection rate limiting; monitor logs for abnormal BSON parsing errors or spike in failed connections as exploitation indicators; consider temporary service isolation or workload migration for non-critical systems until patch availability.
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
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-35857
GHSA-wvrr-4w4f-3v54
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB