CVE-2025-6709

published 26 Jun 2025 · updated 26 Jun 2025

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

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Server 6.0.21, Server 7.0.17 and Server 8.0.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MongoDBServer>=6.0 <6.0.21, >=7.0 <7.0.17, >=8.0 <8.0.56.0.21, 7.0.17, 8.0.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in MongoDB, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-6709 severity on Zeptric[![CVE-2025-6709](https://zeptric.io/badge/cve/CVE-2025-6709.svg)](https://zeptric.io/cve/CVE-2025-6709)