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-2024-6375

CVE-2024-6375: MongoDB Auth Bypass Vulnerability

CVE-2024-6375 is an authorization bypass flaw in MongoDB Server affecting shard key refinement commands. This vulnerability can degrade query performance or expose chunk boundaries. Learn about affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2024-6375 Overview

A missing authorization check vulnerability exists in MongoDB Server's shard key refinement command. When exploited, this security flaw allows the command to execute directly on a shard without proper access control validation. The consequence of this vulnerability is twofold: it can lead to degradation of query performance and may reveal chunk boundaries through timing side channels, potentially exposing sensitive information about the database's internal structure to unauthorized parties.

Critical Impact

Unauthorized execution of shard key refinement commands can degrade query performance and leak sensitive chunk boundary information through timing side channels.

Affected Products

  • MongoDB Server v5.0 versions prior to 5.0.22
  • MongoDB Server v6.0 versions prior to 6.0.11
  • MongoDB Server v7.0 versions prior to 7.0.3

Discovery Timeline

  • 2024-07-01 - CVE CVE-2024-6375 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2024-6375

Vulnerability Analysis

This vulnerability is categorized under CWE-285 (Improper Authorization) and CWE-862 (Missing Authorization), both of which relate to access control failures. The shard key refinement command in MongoDB is designed to modify the granularity of a collection's shard key, which is a critical operation in sharded cluster management.

Under normal circumstances, this command should undergo authorization checks to ensure only privileged users can execute it. However, the affected versions lack this authorization verification, creating a pathway for unauthorized command execution. The vulnerability is network-accessible and does not require user interaction or special privileges to exploit, making it particularly concerning for internet-facing MongoDB deployments.

Root Cause

The root cause of this vulnerability is a missing authorization check in the code path handling shard key refinement operations. When the refine collection shard key command is invoked, the authorization framework fails to validate whether the requesting entity has the necessary permissions to perform this operation. This oversight allows the command to bypass the intended access control mechanisms and execute directly on a shard.

Attack Vector

The attack vector for CVE-2024-6375 is network-based, meaning an attacker with network access to the MongoDB server can potentially exploit this vulnerability. The exploitation does not require authentication or user interaction.

An attacker could exploit this vulnerability by:

  1. Identifying a MongoDB sharded cluster running an affected version
  2. Crafting and sending a refine collection shard key command to the target server
  3. Observing the response timing to infer chunk boundaries (timing side channel attack)
  4. Potentially degrading query performance through repeated unauthorized operations

The timing side channel aspect of this vulnerability is particularly noteworthy as it can reveal internal database structure information that should remain confidential. For detailed technical information, refer to the MongoDB Jira Issue SERVER-79327.

Detection Methods for CVE-2024-6375

Indicators of Compromise

  • Unexpected refineCollectionShardKey commands in MongoDB audit logs from unauthorized sources
  • Unusual query performance degradation without corresponding workload changes
  • Anomalous network traffic patterns targeting MongoDB ports (default 27017)
  • Repeated failed or suspicious command executions against sharded collections

Detection Strategies

  • Enable MongoDB's profiler to capture all database operations and review for unauthorized shard key refinement attempts
  • Implement network monitoring to detect unusual connection patterns to MongoDB instances
  • Review MongoDB server logs for unexpected administrative commands executed against sharded collections
  • Deploy intrusion detection rules that flag refineCollectionShardKey operations from non-administrative sources

Monitoring Recommendations

  • Configure MongoDB audit logging to capture all administrative operations including shard key modifications
  • Monitor for timing anomalies in database response patterns that could indicate side channel exploitation attempts
  • Set up alerts for any shard key refinement operations outside of scheduled maintenance windows
  • Implement baseline monitoring for query performance to detect degradation indicative of exploitation

How to Mitigate CVE-2024-6375

Immediate Actions Required

  • Upgrade MongoDB Server to patched versions: 5.0.22 or later, 6.0.11 or later, or 7.0.3 or later
  • Restrict network access to MongoDB instances using firewall rules and network segmentation
  • Review access controls and ensure only authorized users can connect to sharded cluster components
  • Enable authentication and authorization on all MongoDB deployments if not already configured

Patch Information

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

  • MongoDB Server v5.0: Upgrade to version 5.0.22 or later
  • MongoDB Server v6.0: Upgrade to version 6.0.11 or later
  • MongoDB Server v7.0: Upgrade to version 7.0.3 or later

For detailed patch information and additional guidance, refer to the MongoDB Jira Issue SERVER-79327.

Workarounds

  • Implement network-level access controls to restrict connections to MongoDB shards to trusted sources only
  • Enable MongoDB authentication and ensure proper role-based access control (RBAC) is configured
  • Deploy MongoDB instances behind a properly configured firewall with strict ingress rules
  • Use VPN or private network connections to isolate MongoDB traffic from public networks
bash
# Configuration example - Enable authentication in mongod.conf
security:
  authorization: enabled

# Network binding restriction
net:
  bindIp: 127.0.0.1,<trusted_internal_ip>
  port: 27017

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechMongodb

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.30%

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

  • CWE-862
  • Vendor Resources
  • MongoDB Jira Issue SERVER-79327
  • Related CVEs
  • CVE-2026-3431: SimStudio Auth Bypass Vulnerability

  • CVE-2025-3085: MongoDB Server Auth Bypass Vulnerability

  • CVE-2026-5170: MongoDB Server DoS Vulnerability

  • CVE-2026-4148: MongoDB Use-After-Free 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