CVE-2025-6711: Incomplete Redaction of Sensitive Information in MongoDB Server Logs

Published Jul 7, 2025
·
Updated

An issue has been identified in MongoDB Server where unredacted queries may inadvertently appear in server logs when certain error conditions are encountered. This issue affects MongoDB Server v8.0 versions prior to 8.0.5, MongoDB Server v7.0 versions prior to 7.0.18 and MongoDB Server v6.0 versions prior to 6.0.21.

Affected Software

6 affected components
MongoDB MongoDB Server<8.0.5
MongoDB MongoDB Server<7.0.18
MongoDB MongoDB Server<6.0.21
MongoDB MongoDB>=6.0.0<6.0.21
MongoDB MongoDB>=7.0.0<7.0.18
MongoDB MongoDB>=8.0.0<8.0.5

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.5
  2. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 7.0.18
  3. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 6.0.21

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2025-6711?

CVE-2025-6711 has been classified with a severity level that warrants immediate attention due to potential data exposure risks.

2

How do I fix CVE-2025-6711?

To fix CVE-2025-6711, upgrade your MongoDB Server to version 8.0.5 or higher, or to version 7.0.18 or higher.

3

Which MongoDB Server versions are affected by CVE-2025-6711?

CVE-2025-6711 affects MongoDB Server versions 8.0 prior to 8.0.5, 7.0 prior to 7.0.18, and 6.0 prior to 6.0.21.

4

What are the risks associated with CVE-2025-6711?

The risks include the potential exposure of unredacted queries in server logs which can lead to sensitive information leakage.

5

Is there a workaround for CVE-2025-6711?

There is no documented workaround for CVE-2025-6711, thus upgrading to the safe versions is strongly recommended.

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