The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-2026-5170

CVE-2026-5170: MongoDB Server DoS Vulnerability

CVE-2026-5170 is a denial of service vulnerability in MongoDB Server that allows limited-privilege users to crash mongod during cluster promotion. This article covers technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-5170 Overview

A denial of service vulnerability exists in MongoDB Server that allows a user with limited cluster access privileges to crash a mongod process during a specific operational window. The vulnerability can be triggered when a cluster is being promoted from a replica set to a sharded cluster, creating a brief but exploitable attack surface that could take down the primary node of the replica set.

Critical Impact

An authenticated attacker with limited privileges can cause a denial of service by crashing the primary MongoDB server during cluster promotion operations, potentially disrupting database availability and dependent applications.

Affected Products

  • MongoDB Server v8.2 versions prior to 8.2.2
  • MongoDB Server v8.0 versions prior to 8.0.18
  • MongoDB Server v7.0 versions prior to 7.0.31

Discovery Timeline

  • 2026-03-30 - CVE-2026-5170 published to NVD
  • 2026-04-02 - Last updated in NVD database

Technical Details for CVE-2026-5170

Vulnerability Analysis

This vulnerability is classified under CWE-617 (Reachable Assertion), indicating that the flaw stems from an assertion condition that can be reached by an attacker during specific operational states. The vulnerability manifests during the transitional phase when a MongoDB replica set is being converted to a sharded cluster architecture.

The attack requires network access and low-privilege authentication to the cluster. The complexity of exploitation is considered high due to the limited and unpredictable timing window during which the vulnerability can be triggered. However, if successfully exploited, the impact on availability is significant, potentially causing complete service disruption of the primary database node.

Root Cause

The root cause lies in a reachable assertion within the MongoDB server code that can be triggered by a user with limited privileges during the cluster promotion process. When the replica set is transitioning to a sharded cluster configuration, certain state conditions are not properly validated, allowing an assertion to be triggered that results in an abnormal process termination.

The assertion check does not adequately account for edge cases where a user with constrained privileges issues specific commands during this transitional window. This causes the mongod process to crash rather than gracefully handling the unexpected state.

Attack Vector

The attack vector is network-based and requires authenticated access to the MongoDB cluster with at least minimal privilege actions. The attacker must be able to interact with the cluster during the specific window when promotion from a replica set to a sharded cluster is occurring.

The exploitation scenario involves the following conditions:

  • The attacker has authenticated network access to the MongoDB cluster
  • The cluster is in the process of being promoted from replica set to sharded cluster
  • The attacker issues commands that trigger the assertion during this transitional state

Due to the limited and unpredictable nature of this timing window, the attack cannot be reliably reproduced on demand, making it a race condition-style vulnerability. However, in environments where cluster promotions are planned or recurring, the attack window becomes more predictable.

Detection Methods for CVE-2026-5170

Indicators of Compromise

  • Unexpected mongod process crashes coinciding with cluster promotion operations
  • Assertion failure messages in MongoDB logs containing references to sharded cluster initialization
  • Multiple rapid connection attempts from low-privilege users during administrative operations
  • Unusual command patterns from authenticated users during maintenance windows

Detection Strategies

  • Monitor MongoDB logs for assertion failures and unexpected process terminations during cluster topology changes
  • Implement alerting for mongod process crashes that correlate with replica set to sharded cluster promotion events
  • Review audit logs for suspicious command patterns from users with limited privileges during cluster administration
  • Deploy SentinelOne Singularity to detect anomalous process behavior and unexpected terminations

Monitoring Recommendations

  • Enable MongoDB audit logging to capture all authentication and command activities during cluster operations
  • Configure process monitoring to alert on unexpected mongod process terminations
  • Implement network monitoring to track connection patterns during scheduled maintenance windows
  • Use SentinelOne's real-time behavioral AI to identify exploitation attempts targeting database services

How to Mitigate CVE-2026-5170

Immediate Actions Required

  • Upgrade MongoDB Server v8.2 to version 8.2.2 or later
  • Upgrade MongoDB Server v8.0 to version 8.0.18 or later
  • Upgrade MongoDB Server v7.0 to version 7.0.31 or later
  • Restrict cluster access to only essential administrative users during promotion operations
  • Schedule cluster promotions during low-traffic periods with appropriate access controls in place

Patch Information

MongoDB has released security patches addressing this vulnerability. Organizations should upgrade to the following fixed versions:

  • MongoDB Server 8.2: Upgrade to version 8.2.2 or later
  • MongoDB Server 8.0: Upgrade to version 8.0.18 or later
  • MongoDB Server 7.0: Upgrade to version 7.0.31 or later

For detailed information on the fix, refer to the MongoDB Issue Tracker Entry.

Workarounds

  • Temporarily revoke cluster access from non-essential users during replica set to sharded cluster promotion operations
  • Implement strict network segmentation to limit access to MongoDB instances during administrative operations
  • Use firewall rules to restrict authenticated connections during planned cluster topology changes
  • Consider delaying cluster promotions until patches can be applied in maintenance windows
bash
# Configuration example - Restrict user access during cluster promotion
# Temporarily revoke non-essential user roles before cluster promotion
mongosh --eval "db.revokeRolesFromUser('limitedUser', [{ role: 'read', db: 'admin' }])"

# After successful cluster promotion, restore access
mongosh --eval "db.grantRolesToUser('limitedUser', [{ role: 'read', db: 'admin' }])"

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMongodb

  • SeverityMEDIUM

  • CVSS Score6.0

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-617
  • Vendor Resources
  • MongoDB Issue Tracker Entry
  • Related CVEs
  • CVE-2026-4359: MongoDB C Driver DoS Vulnerability

  • CVE-2026-1849: MongoDB Server DOS Vulnerability

  • CVE-2026-25612: MongoDB Server DoS Vulnerability

  • CVE-2026-25613: MongoDB Server DOS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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