CVE-2025-6709: Pre-Authentication Denial of Service Vulnerability in MongoDB Server's OIDC Authentication

Published Jun 26, 2025
·
Updated

The MongoDB Server is susceptible to a denial of service vulnerability due to improper handling of specific date values in JSON input when using OIDC authentication. This can be reproduced using the mongo shell to send a malicious JSON payload leading to an invariant failure and server crash. This issue affects MongoDB Server v7.0 versions prior to 7.0.17 and MongoDB Server v8.0 versions prior to 8.0.5.

The same issue affects MongoDB Server v6.0 versions prior to 6.0.21, but an attacker can only induce denial of service after authenticating.

Affected Software

6 affected components
MongoDB MongoDB Server<7.0.17
MongoDB MongoDB Server<8.0.5
MongoDB MongoDB Server<6.0.21
MongoDB MongoDB>=6.0.0<6.0.21
MongoDB MongoDB>=7.0.0<7.0.17
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 6.0.21
  2. Upgrade

    Upgrade MongoDB Server to a version that resolves this vulnerability.

    Fixed in 7.0.17
  3. 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:07 PM
Data Sourced
via MITRE·02:07 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-6709?

CVE-2025-6709 has been classified as a denial of service vulnerability.

2

How do I fix CVE-2025-6709?

To mitigate CVE-2025-6709, update to a MongoDB Server version greater than 7.0.17, 8.0.5, or 6.0.21.

3

Which versions of MongoDB Server are affected by CVE-2025-6709?

MongoDB Server versions up to but not including 7.0.17, 8.0.5, and 6.0.21 are affected by CVE-2025-6709.

4

What type of attack does CVE-2025-6709 facilitate?

CVE-2025-6709 facilitates a denial of service attack through the improper handling of date values in JSON input.

5

Is CVE-2025-6709 related to OIDC authentication?

Yes, CVE-2025-6709 is specifically related to the use of OIDC authentication when processing malicious JSON payloads.

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