CVE-2025-6709

Pre-Authentication Denial of Service Vulnerability in MongoDB Server's OIDC Authentication

State
Published
Severity
7.5 High
Published
Jun 26, 2025
Updated
Jun 26, 2025
Reserved
Jun 26, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hmongodb

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
MongoDB ServerMongoDB Inc
  • 7.0 to before 7.0.17Affected
  • 8.0 to before 8.0.5Affected
  • 6.0 to before 6.0.21Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.