CVE-2025-6713: MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage
An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MongoDB Serverto a version that resolves this vulnerability.Fixed in 8.0.7 - Upgrade
Upgrade
MongoDB Serverto a version that resolves this vulnerability.Fixed in 7.0.19 - Upgrade
Upgrade
MongoDB Serverto a version that resolves this vulnerability.Fixed in 6.0.22
Event History
Frequently Asked Questions
What is the severity of CVE-2025-6713?
CVE-2025-6713 is considered a high severity vulnerability due to unauthorized data access risk.
How do I fix CVE-2025-6713?
To fix CVE-2025-6713, upgrade your MongoDB Server to version 8.0.7 or later, or to version 7.0.20 or later, or to version 6.0.22 or later.
What are the consequences of CVE-2025-6713?
Exploitation of CVE-2025-6713 could allow unauthorized users to access sensitive data without proper authorization.
Which versions of MongoDB Server are affected by CVE-2025-6713?
CVE-2025-6713 affects MongoDB Server versions prior to 8.0.7, 7.0.20, and 6.0.22.
Is CVE-2025-6713 a client-side or server-side vulnerability?
CVE-2025-6713 is a server-side vulnerability affecting the MongoDB Server.