CVE-2026-9740: CWE-674 Uncontrolled Recursion in MongoDB MongoDB Server
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.
AI Analysis
Technical Summary
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.
CVE-2026-9740: CWE-674 Uncontrolled Recursion in MongoDB 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
Affected software
pkg:github/mongodb/mongoRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.