Improper input validation in MongoDB
CVE-2025-6709
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.005 (37.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Mongodb
- Mongodb Inc Server — versions 7.0, 8.0, 6.0
Weakness classification (CWE)
References
- cna@mongodb.com (Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-6709?
- CVE-2025-6709 is a high-severity vulnerability in MongoDB, classified under Improper Input Validation. CVSS score: 7.5/10. Published 2025-06-26.
- How severe is CVE-2025-6709?
- High severity. CVSS v3 base score is 7.5 out of 10.