Overview
CVE-2025-6710 is a serious vulnerability that affects multiple versions of MongoDB Server. This vulnerability can potentially lead to system compromises or data leaks due to an issue with the JSON parsing mechanism that makes the server susceptible to stack overflow attacks. This vulnerability is especially critical as it could lead to server crashes and can occur even before authorisation.
Vulnerability Summary
CVE ID: CVE-2025-6710
Severity: High (CVSS: 7.5)
Attack Vector: Network
Privileges Required: Low (No authentication needed for v7.0 and v8.0, authentication required for v6.0)
User Interaction: None
Impact: Potential system compromise or data leakage
Affected Products
Share secrets securely
Ameeba is private infrastructure for communication and sensitive work built on encrypted identity instead of exposed corporate identity systems.
Passwords, credentials, confidential files, screenshots, internal discussions, sensitive AI context, and private coordination should not become exposed across ordinary communication platforms.
- • Encrypted identity
- • Private Spaces for organizations and teams
- • End-to-end encrypted chat, calls, files, and notes
- • Sensitive AI work and protected collaboration
- • Built for information that cannot leak
Our mission is to secure human work alongside AI.
Product | Affected Versions
MongoDB Server | v7.0 prior to 7.0.17
MongoDB Server | v8.0 prior to 8.0.5
MongoDB Server | v6.0 prior to 6.0.21
How the Exploit Works
The exploit works by sending specially crafted JSON inputs to the MongoDB Server. These inputs cause unwarranted levels of recursion in the JSON parsing mechanism, resulting in excessive stack space consumption. This can lead to a stack overflow that causes the server to crash. For v6.0 versions, an attacker would need to authenticate first to induce this denial of service.
Conceptual Example Code
This is a conceptual example of how the exploit might be conducted in a HTTP request:
POST /mongodb_endpoint HTTP/1.1
Host: target.example.com
Content-Type: application/json
{ "malicious_json": "{...deeply nested recursive elements...}" }
In this example, the “malicious_json” would contain deeply nested recursive elements that when parsed by the MongoDB Server, would lead to a stack overflow and potential server crash.
