Skip to content

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

HighCVSS 7.5 EPSS 0.78%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
mongodb/mongodb >= 6.0, < 6.0.21; >= 6.0.0, < 6.0.21; >= 7.0, < 7.0.17; >= 7.0.0, < 7.0.17 +2 more 6.0.21, 7.0.17, 8.0.5 Fixed

Affected products

ProductAffected versionsFixed in
mongodb/mongodb >= 7.0, < 7.0.17 7.0.17
mongodb/mongodb >= 8.0, < 8.0.5 8.0.5
mongodb/mongodb >= 6.0, < 6.0.21 6.0.21
mongodb/mongodb >= 6.0.0, < 6.0.21 6.0.21
mongodb/mongodb >= 7.0.0, < 7.0.17 7.0.17
mongodb/mongodb >= 8.0.0, < 8.0.5 8.0.5

References