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

CVE-2026-33750: brace-expansion Library DoS Vulnerability

CVE-2026-33750 is a denial of service flaw in the brace-expansion library that causes infinite loops and memory exhaustion when processing zero step values. This article covers technical details, affected versions, and mitigation.

Published: April 3, 2026

CVE-2026-33750 Overview

CVE-2026-33750 is a Denial of Service (DoS) vulnerability in the brace-expansion library, a widely used Node.js package that generates arbitrary strings containing a common prefix and suffix. The vulnerability exists in versions prior to 5.0.5, 3.0.2, 2.0.3, and 1.1.13, where a brace pattern with a zero step value (e.g., {1..2..0}) causes the sequence generation loop to run indefinitely, resulting in process hang and excessive memory allocation.

Critical Impact

Applications accepting user-controlled input that is passed to the expand() function can be rendered unresponsive through resource exhaustion, potentially affecting service availability for all users.

Affected Products

  • brace-expansion versions prior to 5.0.5
  • brace-expansion versions prior to 3.0.2
  • brace-expansion versions prior to 2.0.3
  • brace-expansion versions prior to 1.1.13

Discovery Timeline

  • 2026-03-27 - CVE CVE-2026-33750 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-33750

Vulnerability Analysis

The brace-expansion library provides functionality to expand brace-delimited strings into arrays of all possible combinations. The vulnerability (CWE-400: Uncontrolled Resource Consumption) exists in the numeric sequence expansion logic. When processing range patterns like {start..end..step}, the library fails to validate the step parameter properly.

When a step value of 0 is provided, the increment operation in the sequence generation loop becomes ineffective—the loop variable never advances toward the termination condition. This creates an infinite loop that continuously allocates memory without ever completing, leading to both CPU exhaustion and memory exhaustion. The attack can be triggered remotely over the network but requires user interaction, such as submitting a malicious pattern through a web form or API endpoint that processes brace expressions.

Root Cause

The root cause lies in the sequence generation function where the step increment value is calculated using Math.abs(numeric(n[2])). When the user supplies 0 as the step value, Math.abs(0) evaluates to 0, and the loop increments by zero on each iteration. This results in an infinite loop since the loop counter never reaches the termination condition.

Attack Vector

An attacker can exploit this vulnerability by providing a malicious brace pattern with a zero step value to any application that passes user input to the expand() function. The attack pattern follows this structure:

{start..end..0}

For example, submitting the string {1..2..0} to a vulnerable application causes the sequence generation loop to execute indefinitely. This network-based attack can be delivered through any input mechanism that eventually reaches the brace-expansion library.

The following patches demonstrate how the vulnerability was fixed by ensuring the step value is always at least 1:

javascript
       var y = numeric(n[1]);
       var width = Math.max(n[0].length, n[1].length)
       var incr = n.length == 3
-        ? Math.abs(numeric(n[2]))
+        ? Math.max(Math.abs(numeric(n[2])), 1)
         : 1;
       var test = lte;
       var reverse = y < x;

Source: GitHub Commit - v2 Backport

The fix wraps the step calculation with Math.max(..., 1) to ensure the increment value can never be zero, preventing the infinite loop condition.

Detection Methods for CVE-2026-33750

Indicators of Compromise

  • Processes consuming 100% CPU with no progression, particularly Node.js applications
  • Rapid memory growth in application processes handling string expansion operations
  • Application logs showing timeouts or hangs when processing user-submitted patterns containing {..} syntax
  • System-level alerts for memory exhaustion or out-of-memory conditions

Detection Strategies

  • Implement dependency scanning tools to identify vulnerable versions of brace-expansion in your package.json and package-lock.json files
  • Monitor application performance metrics for sudden CPU spikes correlated with user input processing
  • Deploy runtime application self-protection (RASP) solutions that can detect infinite loop conditions
  • Use static code analysis to identify code paths where user input flows to expand() function calls

Monitoring Recommendations

  • Set up alerts for Node.js process memory consumption exceeding baseline thresholds
  • Configure application performance monitoring (APM) to track the duration of string expansion operations
  • Implement request timeouts at the application layer to prevent individual requests from consuming resources indefinitely
  • Monitor for patterns containing ..0} or ..0.. in input logs as potential attack indicators

How to Mitigate CVE-2026-33750

Immediate Actions Required

  • Update brace-expansion to version 5.0.5, 3.0.2, 2.0.3, or 1.1.13 depending on your major version branch
  • Audit your codebase to identify all locations where user input may reach the expand() function
  • Implement input validation to reject or sanitize brace patterns before processing
  • Consider implementing request timeouts to limit the impact of any exploitation attempts

Patch Information

The vulnerability has been patched in multiple version branches. Update to the appropriate fixed version based on your current major version:

Current VersionFixed Version
5.x5.0.5
3.x3.0.2
2.x2.0.3
1.x1.1.13

For detailed patch information, refer to the GitHub Security Advisory and related pull requests.

Workarounds

  • Sanitize all strings passed to expand() to ensure a step value of 0 is not present in brace patterns
  • Implement a regular expression filter to reject patterns matching /\{\d+\.\.\d+\.\.0\}/ before processing
  • Wrap calls to expand() with timeout mechanisms to prevent indefinite hangs
  • Consider using a sandboxed execution environment for processing untrusted input
bash
# Configuration example - Update brace-expansion via npm
npm update brace-expansion

# Or install a specific fixed version
npm install brace-expansion@5.0.5

# Audit your project for vulnerable dependencies
npm audit

# Fix vulnerabilities automatically where possible
npm audit fix

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechBrace Expansion

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub Source Code Reference

  • GitHub Source Code Reference

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Issue Report

  • GitHub Pull Request Review

  • GitHub Pull Request Review

  • GitHub Pull Request Review

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-5889: brace-expansion 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