CVE-2025-6707: Race condition in privilege cache invalidation cycle

Published Jun 26, 2025
·
Updated

Under certain conditions, an authenticated user request may execute with stale privileges following an intentional change by an authorized administrator. This issue affects MongoDB Server v5.0 version prior to 5.0.31, MongoDB Server v6.0 version prior to 6.0.24, MongoDB Server v7.0 version prior to 7.0.21 and MongoDB Server v8.0 version prior to 8.0.5.

Affected Software

8 affected components
MongoDB MongoDB Server<5.0.31
MongoDB MongoDB Server<6.0.24
MongoDB MongoDB Server<7.0.21
MongoDB MongoDB Server<8.0.5
MongoDB MongoDB>=5.0.0<5.0.31
MongoDB MongoDB>=6.0.0<6.0.24
MongoDB MongoDB>=7.0.0<7.0.21
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 5.0.31
  2. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 6.0.24
  3. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 7.0.21
  4. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 8.0.5

Event History

Jun 26, 2025
CVE Published
via MITRE·02:04 PM
Data Sourced
via MITRE·02:04 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-6707?

CVE-2025-6707 is considered a medium severity vulnerability.

2

How do I fix CVE-2025-6707?

To fix CVE-2025-6707, upgrade MongoDB Server to version 5.0.31, 6.0.24, 7.0.21, or later.

3

What versions are affected by CVE-2025-6707?

CVE-2025-6707 affects MongoDB Server versions prior to 5.0.31, 6.0.24, 7.0.21, and 8.0.5.

4

What type of issue is CVE-2025-6707?

CVE-2025-6707 is an issue that allows authenticated user requests to execute with stale privileges after an administrator change.

5

Is there a workaround for CVE-2025-6707 if I cannot upgrade?

There are no documented workarounds for CVE-2025-6707; the recommended action is to perform an upgrade.

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