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-27903

CVE-2026-27903: minimatch DOS Vulnerability

CVE-2026-27903 is a denial of service vulnerability in minimatch that causes unbounded recursive backtracking with crafted glob patterns. This post explains its impact, affected versions, and mitigation steps.

Published: February 27, 2026

CVE-2026-27903 Overview

CVE-2026-27903 is an Algorithmic Complexity Attack vulnerability in minimatch, a widely-used utility for converting glob expressions into JavaScript RegExp objects. Prior to the patched versions, the matchOne() function performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent ** (GLOBSTAR) segments and the input path does not match. This behavior can be exploited to cause denial of service conditions in Node.js applications.

Critical Impact

An attacker can stall the Node.js event loop for tens of seconds per invocation using a crafted glob pattern as small as 56 bytes, effectively causing denial of service without requiring authentication in many contexts.

Affected Products

  • minimatch versions prior to 10.2.3
  • minimatch versions prior to 9.0.7, 8.0.6, 7.4.8, 6.2.2
  • minimatch versions prior to 5.1.8, 4.2.5, 3.1.3

Discovery Timeline

  • 2026-02-26 - CVE CVE-2026-27903 published to NVD
  • 2026-02-26 - Last updated in NVD database

Technical Details for CVE-2026-27903

Vulnerability Analysis

The vulnerability exists in the matchOne() function of the minimatch library. When processing glob patterns containing multiple non-adjacent ** (GLOBSTAR) segments against non-matching input paths, the function performs unbounded recursive backtracking. The time complexity of this operation follows O(C(n, k)) — binomial — where n represents the number of path segments and k represents the number of globstars in the pattern.

The practical impact is significant: with k=11 and n=30, a call to the default minimatch() API stalls for approximately 5 seconds. Increasing to k=13 causes execution to exceed 15 seconds. No memoization or call budget exists within the function to limit this exponential behavior, making it trivially exploitable for denial of service attacks.

Root Cause

The root cause is classified under CWE-407 (Inefficient Algorithmic Complexity). The matchOne() function lacks proper bounds checking and memoization when handling recursive matching of GLOBSTAR patterns. Each non-adjacent ** segment in the pattern multiplies the search space combinatorially, and without any mechanism to detect or prevent excessive recursion, the algorithm can consume CPU resources exponentially based on input characteristics.

Attack Vector

The attack vector is network-based and requires no authentication in many deployment scenarios. Realistic attack surfaces include:

  • Build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup configurations)
  • Multi-tenant systems where one tenant configures glob-based rules that execute in a shared process
  • Admin or developer interfaces that accept ignore-rule or filter configurations as glob patterns
  • CI/CD pipelines that evaluate user-submitted configuration files containing glob patterns

An attacker who can inject a crafted pattern into any of these paths can trigger the vulnerability. The attack payload is remarkably small—only 56 bytes for a 5-second stall—making it easy to embed in configuration files, form fields, or API parameters without triggering size-based validation.

The vulnerability mechanism involves constructing a glob pattern with multiple GLOBSTAR (**) segments interspersed with literal path components. When this pattern is matched against a carefully chosen non-matching path with many segments, the recursive backtracking algorithm explores an exponential number of potential matches before determining no match exists. For technical details and proof-of-concept patterns, refer to the GitHub Security Advisory.

Detection Methods for CVE-2026-27903

Indicators of Compromise

  • Unusual CPU spikes in Node.js processes handling glob pattern matching
  • Event loop delays or stalls in applications using minimatch
  • Configuration files or API inputs containing glob patterns with multiple consecutive or non-adjacent ** segments
  • User-submitted content with unusually long glob expressions

Detection Strategies

  • Monitor Node.js process CPU utilization for sustained high usage without corresponding I/O activity
  • Implement input validation to detect and limit the number of GLOBSTAR (**) segments in user-supplied glob patterns
  • Use application performance monitoring (APM) to identify slow glob matching operations
  • Review logs for repeated requests containing complex glob patterns from the same source

Monitoring Recommendations

  • Set up alerting for Node.js event loop lag exceeding normal thresholds
  • Implement request timeout mechanisms for operations involving user-supplied glob patterns
  • Deploy SentinelOne Singularity to monitor for process resource exhaustion patterns
  • Track dependency versions across your codebase to identify vulnerable minimatch installations

How to Mitigate CVE-2026-27903

Immediate Actions Required

  • Update minimatch to the patched version corresponding to your major version: 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, or 3.1.3
  • Audit your dependency tree for indirect minimatch usage (many build tools depend on minimatch)
  • Implement input validation to reject or sanitize glob patterns with excessive GLOBSTAR segments
  • Consider rate limiting or timeouts for endpoints that process user-supplied glob patterns

Patch Information

The minimatch maintainers have released patched versions across all supported major version branches. The fix addresses the unbounded recursion by implementing proper bounds checking and memoization in the matchOne() function.

Major VersionPatched Version
10.x10.2.3
9.x9.0.7
8.x8.0.6
7.x7.4.8
6.x6.2.2
5.x5.1.8
4.x4.2.5
3.x3.1.3

For more information, see the GitHub Security Advisory.

Workarounds

  • Validate and sanitize user-supplied glob patterns before passing them to minimatch
  • Limit the number of ** segments allowed in glob patterns (recommend maximum of 2-3)
  • Implement timeouts around glob matching operations to prevent indefinite blocking
  • Run glob matching operations in worker threads or separate processes to isolate the event loop impact
bash
# Update minimatch to patched version
npm update minimatch

# Or install specific patched version
npm install minimatch@10.2.3

# Check for vulnerable versions in your dependency tree
npm ls minimatch

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMinimatch

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.05%

  • 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-407
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27904: minimatch DOS Vulnerability

  • CVE-2026-26996: Minimatch ReDoS Denial of Service Flaw

  • CVE-2022-3517: Minimatch ReDoS Denial of Service Flaw
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