CVE-2026-6811: CWE-674 Uncontrolled Recursion in MongoDB Inc. PHP Driver
CVE-2026-6811 is a stack exhaustion vulnerability in the MongoDB PHP driver affecting versions 1. 21. 5 and 2. 1. 8. It occurs when processing deeply nested BSON documents originating from sources other than MongoDB Server, potentially causing application crashes. The vulnerability is classified under CWE-674 (Uncontrolled Recursion) and has a medium severity with a CVSS 4. 0 score of 6. No official patch or remediation guidance has been provided yet, and there are no known exploits in the wild.
AI Analysis
Technical Summary
This vulnerability in the MongoDB PHP driver involves uncontrolled recursion leading to stack exhaustion when handling deeply nested BSON documents from non-MongoDB Server sources. The affected versions are 1.21.5 and 2.1.8. The issue can cause application crashes under unusual circumstances. The CVSS 4.0 vector indicates a network attack vector with high attack complexity and no privileges required, resulting in high impact on availability. No official remediation or patch is currently documented.
Potential Impact
The vulnerability can cause application crashes due to stack exhaustion when processing deeply nested BSON documents not originating from MongoDB Server. This impacts application availability but does not indicate confidentiality or integrity loss. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing deeply nested BSON documents from untrusted or non-MongoDB Server sources to reduce the risk of triggering the vulnerability.
CVE-2026-6811: CWE-674 Uncontrolled Recursion in MongoDB Inc. PHP Driver
Description
CVE-2026-6811 is a stack exhaustion vulnerability in the MongoDB PHP driver affecting versions 1. 21. 5 and 2. 1. 8. It occurs when processing deeply nested BSON documents originating from sources other than MongoDB Server, potentially causing application crashes. The vulnerability is classified under CWE-674 (Uncontrolled Recursion) and has a medium severity with a CVSS 4. 0 score of 6. No official patch or remediation guidance has been provided yet, and there are no known exploits in the wild.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in the MongoDB PHP driver involves uncontrolled recursion leading to stack exhaustion when handling deeply nested BSON documents from non-MongoDB Server sources. The affected versions are 1.21.5 and 2.1.8. The issue can cause application crashes under unusual circumstances. The CVSS 4.0 vector indicates a network attack vector with high attack complexity and no privileges required, resulting in high impact on availability. No official remediation or patch is currently documented.
Potential Impact
The vulnerability can cause application crashes due to stack exhaustion when processing deeply nested BSON documents not originating from MongoDB Server. This impacts application availability but does not indicate confidentiality or integrity loss. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, avoid processing deeply nested BSON documents from untrusted or non-MongoDB Server sources to reduce the risk of triggering the vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mongodb
- Date Reserved
- 2026-04-21T17:34:55.192Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0643eeec166c07b0159688
Added to database: 5/14/2026, 9:51:42 PM
Last enriched: 5/14/2026, 10:06:38 PM
Last updated: 5/14/2026, 10:53:57 PM
Views: 4
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.