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

CVE Details

Basic Information

Title Pre-Authentication Denial of Service Vulnerability in MongoDB Server’s OIDC Authentication
Type cve
Published 2025-06-26T14:07:04.979Z
Last Seen

Product Information

Vendor MongoDB Inc
Product MongoDB Server
Version 7.0

CVSS Information

Base Score 7.5 (HIGH)
Attack Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Confidentiality Impact
Integrity Impact
Availability Impact

AI Analysis

AI Description MongoDB Server is vulnerable to a denial of service attack due to improper handling of specific date values in JSON input during OIDC authentication. This can cause the server to crash when a malicious payload is sent. The issue affects versions prior to 7.0.17, 8.0.5, and 6.0.21.
AI Severity High
Vendor MongoDB Inc
Product MongoDB Server
Affected Version 7.0.0-7.0.16, 8.0.0-8.0.4, 6.0.0-6.0.20

Affected Products

  • MongoDB Inc MongoDB Server 7.0
  • MongoDB Inc MongoDB Server 8.0
  • MongoDB Inc MongoDB Server 6.0

Additional Information

CVE List
CWE List CWE-20
Bulletin Family

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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.