A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-6709

CVE-2025-6709: MongoDB Server DoS Vulnerability

CVE-2025-6709 is a denial of service vulnerability in MongoDB Server caused by improper handling of date values in JSON input with OIDC authentication. This article covers technical details, affected versions, and mitigation.

Published: April 15, 2026

CVE-2025-6709 Overview

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 vulnerability allows attackers to send malicious JSON payloads through the mongo shell, triggering an invariant failure that causes a complete server crash.

Critical Impact

Unauthenticated attackers can remotely crash MongoDB Server instances configured with OIDC authentication by sending specially crafted JSON payloads containing malformed date values, leading to service unavailability and potential data access disruption.

Affected Products

  • MongoDB Server v7.0 versions prior to 7.0.17
  • MongoDB Server v8.0 versions prior to 8.0.5
  • MongoDB Server v6.0 versions prior to 6.0.21 (requires authentication to exploit)

Discovery Timeline

  • 2025-06-26 - CVE-2025-6709 published to NVD
  • 2025-09-15 - Last updated in NVD database

Technical Details for CVE-2025-6709

Vulnerability Analysis

This vulnerability stems from improper input validation (CWE-20) in MongoDB Server's JSON parsing logic when processing date values during OIDC (OpenID Connect) authentication flows. The server fails to properly sanitize and validate specific date value formats within JSON payloads, leading to an invariant assertion failure when encountering unexpected date representations.

When a malicious payload is processed, the server's internal validation logic encounters a condition it was not designed to handle, triggering an invariant check failure. This defensive programming mechanism, intended to catch programming errors during development, causes an immediate server crash in production environments rather than gracefully handling the malformed input.

The vulnerability is particularly concerning for MongoDB Server versions 7.0 and 8.0, where exploitation can occur without prior authentication when OIDC authentication is enabled. In version 6.0, the same underlying parsing flaw exists, but the authentication requirement provides an additional layer of protection, limiting exploitation to authenticated users.

Root Cause

The root cause lies in improper input validation within MongoDB's JSON date parsing routines used during OIDC authentication processing. The server expects date values to conform to specific formats, but lacks comprehensive boundary checking and error handling for edge cases. When specific date values are encountered that fall outside expected parameters, the invariant assertion fails rather than returning an error response, resulting in process termination.

Attack Vector

The attack can be executed remotely over the network without requiring any user interaction. An attacker can connect to an exposed MongoDB instance and use the mongo shell or equivalent client to send crafted JSON payloads containing malicious date values. The attack targets the OIDC authentication pathway, meaning systems configured for OpenID Connect authentication are at risk.

The exploitation process involves:

  1. Identifying MongoDB instances with OIDC authentication enabled
  2. Crafting a JSON payload with specific malformed date values that trigger the parsing error
  3. Sending the payload to the target server through the mongo shell or a compatible client
  4. The server processes the payload, encounters the invalid date value, and triggers an invariant failure
  5. The MongoDB server process crashes, causing denial of service

For MongoDB versions 7.0 and 8.0, this attack can be performed without authentication. For version 6.0, valid credentials are required before the vulnerable code path can be reached.

Detection Methods for CVE-2025-6709

Indicators of Compromise

  • Unexpected MongoDB server crashes with invariant failure messages in logs
  • Repeated server restarts within short time windows indicating crash-restart cycles
  • Authentication log entries showing unusual JSON payload patterns prior to crashes
  • OIDC authentication attempts with malformed or unusual date values in request payloads

Detection Strategies

  • Monitor MongoDB server logs for invariant failure messages and unexpected process terminations
  • Implement network-level monitoring to detect anomalous JSON payload patterns targeting MongoDB ports
  • Configure alerting on MongoDB process crashes and automatic restart events
  • Review OIDC authentication logs for unusual date format patterns in incoming requests

Monitoring Recommendations

  • Enable verbose logging for OIDC authentication events to capture suspicious payloads
  • Implement process monitoring with automatic alerting when MongoDB services terminate unexpectedly
  • Deploy network intrusion detection rules to identify malformed JSON date patterns targeting MongoDB
  • Monitor system logs for repeated crash-restart cycles that may indicate active exploitation attempts

How to Mitigate CVE-2025-6709

Immediate Actions Required

  • Upgrade MongoDB Server v7.0 to version 7.0.17 or later immediately
  • Upgrade MongoDB Server v8.0 to version 8.0.5 or later immediately
  • Upgrade MongoDB Server v6.0 to version 6.0.21 or later
  • Restrict network access to MongoDB instances to trusted IP addresses and networks
  • Consider temporarily disabling OIDC authentication if not critical until patches can be applied

Patch Information

MongoDB has released security patches addressing this vulnerability. Detailed information about the fix is available in the MongoDB Bug Report SERVER-106748. Organizations should prioritize upgrading to the patched versions:

  • MongoDB Server v7.0.17+ for 7.0 series
  • MongoDB Server v8.0.5+ for 8.0 series
  • MongoDB Server v6.0.21+ for 6.0 series

Workarounds

  • Implement firewall rules to restrict MongoDB access to trusted networks and IP addresses only
  • If OIDC authentication is not required, consider switching to alternative authentication mechanisms
  • Deploy a reverse proxy or application firewall capable of inspecting and filtering malformed JSON payloads
  • Ensure MongoDB instances are not directly exposed to the public internet
  • Implement rate limiting on authentication endpoints to slow potential exploitation attempts

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMongodb

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-20

  • NVD-CWE-noinfo
  • Vendor Resources
  • MongoDB Bug Report SERVER-106748
  • Related CVEs
  • CVE-2026-9100: MongoDB C Driver GridFS DOS Vulnerability

  • CVE-2026-8843: MongoDB Server DOS Vulnerability

  • CVE-2026-8336: MongoDB Server DoS Vulnerability

  • CVE-2026-8199: MongoDB DoS Vulnerability via Bitwise Match
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English