Skip to main content

MongoDB Server EUVDEUVD-2026-35857

| CVE-2026-9740 HIGH
Uncontrolled Recursion (CWE-674)
2026-06-09 mongodb GHSA-wvrr-4w4f-3v54
8.7
CVSS 4.0 · Vendor: mongodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed mongod port
  2. Delivery
    Open TCP connection to wire protocol
  3. Exploit
    Send crafted BSON with nested binary
  4. Execution
    Trigger mutual recursion in validator
  5. Persist
    Exhaust process stack
  6. Impact
    Crash 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv3 – 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)
v2 Jun 09, 2026 - 23:28 cvss changed CVSS 8.7

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.

v1 Jun 09, 2026 - 23:21 CVSS 7.5

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

MongoDB Server 8.2.0 <8.2.10
MongoDB Server 7.0.0 <7.0.35
MongoDB Server 8.3.0 <8.3.3
MongoDB Server 8.0.0 <8.0.24

Affected Packages

euvd mongodb_server fix: 7.0.35, 8.0.24, 8.2.10, 8.3.3

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

Vendor (mongodb) PRIMARY 8.7 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
Jun 10, 2026 - 02:01 EUVD
Analysis Updated
Jun 09, 2026 - 23:28 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 09, 2026 - 23:28 vuln.today
v2 - CVSS changed
CVSS changed
Jun 09, 2026 - 23:22 NVD
7.5 (HIGH) 8.7 (HIGH)

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Social Media
1
Sightings
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.0%
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
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

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