CVE-2025-6709

High

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.

SeverityHigh
CVSS7.5
Exploit probability44. percentile0.5%
ProductMongodb
PublishedJun 26, 2025
First seenJun 26, 2025

How to fix

Update
  • mongodb mongodb6.0.21, 7.0.17, 8.0.5 or later

Affected products

ProductAffected versionsFixed in
mongodb mongodb6.0.0 ≤ v < 6.0.21, 7.0.0 ≤ v < 7.0.17, 8.0.0 ≤ v < 8.0.56.0.21, 7.0.17, 8.0.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-6709 · Mongodb · Dark Radar