CVE-2025-6713: MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage

Published Jul 7, 2025
·
Updated

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

6 affected components
MongoDB MongoDB Server<8.0.7
MongoDB MongoDB Server<7.0.19
MongoDB MongoDB Server<6.0.22
MongoDB MongoDB>=6.0.0<6.0.22
MongoDB MongoDB>=7.0.0<7.0.19
MongoDB MongoDB>=8.0.0<8.0.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 8.0.7
  2. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 7.0.19
  3. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 6.0.22

Event History

Jul 7, 2025
CVE Published
via MITRE·02:46 PM
Data Sourced
via MITRE·02:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-6713?

CVE-2025-6713 is considered a high severity vulnerability due to unauthorized data access risk.

2

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.

3

What are the consequences of CVE-2025-6713?

Exploitation of CVE-2025-6713 could allow unauthorized users to access sensitive data without proper authorization.

4

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.

5

Is CVE-2025-6713 a client-side or server-side vulnerability?

CVE-2025-6713 is a server-side vulnerability affecting the MongoDB Server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203