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
    • 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-2026-8199

CVE-2026-8199: MongoDB DoS Vulnerability via Bitwise Match

CVE-2026-8199 is a denial of service vulnerability in MongoDB Server caused by excess memory usage in bitwise match expressions. Authenticated users can trigger OOM conditions. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: May 17, 2026

CVE-2026-8199 Overview

CVE-2026-8199 is a denial of service vulnerability in MongoDB Server caused by inefficient memory usage during abstract syntax tree (AST) processing of bitwise match expressions. An authenticated user can craft queries using $bitsAllSet, $bitsAnySet, $bitsAllClear, or $bitsAnyClear operators that consume excessive memory. The resulting memory pressure can lead to out-of-memory (OOM) conditions and availability loss for the affected database instance. The flaw is tracked under CWE-1325: Improperly Controlled Sequential Memory Allocation and affects multiple supported release branches of MongoDB Server.

Critical Impact

Authenticated attackers can trigger out-of-memory conditions on MongoDB Server instances, degrading availability for all database consumers.

Affected Products

  • MongoDB Server v7.0 versions prior to 7.0.34
  • MongoDB Server v8.0 versions prior to 8.0.23
  • MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2

Discovery Timeline

  • 2026-05-13 - CVE CVE-2026-8199 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-8199

Vulnerability Analysis

The vulnerability resides in the query parser and AST builder that handles MongoDB bitwise match operators. When the server parses $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear predicates, it allocates memory proportional to attacker-influenced inputs without adequate bounds. Repeated or large bitwise expressions inflate the in-memory AST representation beyond expected sizes. The excess allocation pressures the working set of mongod, competing with legitimate workloads for system memory. Sustained exploitation can trigger the Linux OOM killer or process termination, taking the database offline.

Root Cause

The root cause is improperly controlled sequential memory allocation [CWE-1325] during match expression parsing. The bitwise operator handlers do not impose effective ceilings on the memory consumed when constructing the parsed AST for these predicates. Without bounded allocation, an authenticated client can amplify resource usage on the server by repeatedly issuing large bitwise predicates.

Attack Vector

The attack vector is network-based and requires valid authentication with permission to issue find or aggregation queries against the database. An attacker submits queries containing crafted bitwise match expressions to exhaust server memory. No user interaction is needed beyond the authenticated session. The vulnerability does not impact confidentiality or integrity but produces a high availability impact through memory exhaustion.

No public proof-of-concept code is available. See the MongoDB Server Issue Tracker (SERVER-122449) for vendor-provided technical details.

Detection Methods for CVE-2026-8199

Indicators of Compromise

  • Sudden spikes in mongod resident set size (RSS) without a corresponding increase in dataset or connection counts.
  • Repeated client queries containing $bitsAllSet, $bitsAnySet, $bitsAllClear, or $bitsAnyClear from a single authenticated user.
  • MongoDB process termination by the kernel OOM killer recorded in dmesg or system logs.

Detection Strategies

  • Enable MongoDB profiling and audit logs to capture queries containing the four affected bitwise operators and review for abnormal frequency or size.
  • Correlate slow query logs with host-level memory metrics to surface bitwise predicates that precede memory spikes.
  • Alert on authenticated principals whose query patterns deviate from historical baselines for operator usage.

Monitoring Recommendations

  • Track mem.resident, mem.virtual, and tcmalloc metrics exposed by serverStatus() for anomalous growth.
  • Forward MongoDB audit and diagnostic logs to a centralized SIEM for retention and query analytics across the fleet.
  • Configure alerts for repeated process restarts of mongod and for OOM events on database hosts.

How to Mitigate CVE-2026-8199

Immediate Actions Required

  • Upgrade MongoDB Server to a fixed release: 7.0.34, 8.0.23, 8.2.9, or 8.3.2 or later.
  • Audit user roles and revoke query privileges from accounts that do not require read access.
  • Apply per-user query governance to limit the rate and size of submitted predicates.

Patch Information

MongoDB has issued patched releases that resolve the excessive memory allocation in bitwise match expression AST processing. Upgrade to MongoDB Server 7.0.34, 8.0.23, 8.2.9, 8.3.2, or later. Refer to the MongoDB Server Issue Tracker (SERVER-122449) for release notes and fix details.

Workarounds

  • Restrict use of the $bitsAllSet, $bitsAnySet, $bitsAllClear, and $bitsAnyClear operators through application-layer query validation until patching is complete.
  • Enforce role-based access control so only trusted service accounts can execute ad hoc queries against production clusters.
  • Configure cgroup memory limits and mongod resource quotas to contain the blast radius of an OOM event on shared hosts.
bash
# Configuration example: verify installed MongoDB version and upgrade target
mongod --version

# Example role hardening: grant read only where required
mongosh <<'EOF'
use admin
db.revokeRolesFromUser("reporting_user", [ { role: "readWrite", db: "prod" } ])
db.grantRolesToUser("reporting_user", [ { role: "read", db: "prod" } ])
EOF

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.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1325
  • Vendor Resources
  • MongoDB Server Issue Tracker
  • 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-8202: MongoDB Server DoS Vulnerability
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