Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 73%

CVE-2026-9740: CWE-674 Uncontrolled Recursion in MongoDB MongoDB Server

0
High
VulnerabilityCVE-2026-9740cvecve-2026-9740cwe-674
Published: 06/09/2026 (06/09/2026, 22:43:44 UTC)
Source: CVE Database V5
Vendor/Project: MongoDB
Product: MongoDB Server

Description

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.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
mongodb/mongo
pkg:github/mongodb/mongo
Affected versions
=7.0.0=8.0.0=8.2.0=8.3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/17/2026, 16:05:22 UTC

Technical Analysis

This vulnerability arises from the BSON validation logic in MongoDB Server where certain nested binary data structures cause uncontrolled mutual recursion between validation functions. Each recursive call resets internal depth tracking, allowing an unauthenticated attacker to crash the mongod process by sending a crafted message. The issue is classified under CWE-674 (Uncontrolled Recursion). The CVSS 4.0 score is 8.7 (high severity), reflecting network attack vector, no privileges or user interaction required, and high impact on availability. No official patch or remediation level has been provided yet, and no known exploits are reported in the wild.

Potential Impact

An unauthenticated attacker can cause a denial of service by crashing the MongoDB server process (mongod), impacting availability. There is no indication of data confidentiality or integrity compromise from the provided information.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or remediation level is stated, users should monitor MongoDB's official advisories for updates. Until a fix is available, consider restricting network access to MongoDB instances to trusted sources to reduce exposure to unauthenticated attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mongodb
Date Reserved
2026-05-27T17:33:16.187Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2899f18dd33fbd859049cb

Added to database: 06/09/2026, 22:55:45 UTC

Last enriched: 06/17/2026, 16:05:22 UTC

Last updated: 07/31/2026, 19:23:00 UTC

Views: 106

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses