Skip to main content

brace-expansion EUVDEUVD-2026-88550

| CVE-2026-102276 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-09-28 GitHub_M GHSA-6j4f-fj2g-mc7p
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify input path reaching brace-expansion
  2. Exploit
    Submit crafted many-group or huge-comma brace pattern
  3. Execution
    parseCommaParts recurses / push.apply overflows native stack
  4. Impact
    Node.js process terminates (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application pass attacker-controlled strings into brace-expansion's expand() - directly, or indirectly through minimatch/glob pattern matching on untrusted input (e.g. user-supplied glob/path patterns, filter expressions). The specific trigger is a crafted pattern with many chained comma-separated brace groups (recursive path) or a single brace group containing a very large comma-part array (push.apply path); either exhausts the native stack during parsing before the max/maxLength options can bound output - so those options do NOT mitigate. What limits exploitation: the input path must reach brace expansion with untrusted data, which many deployments never expose; there is no default-configuration remote endpoint in the library itself since it is a parsing primitive, so reachability depends entirely on the consuming application.

Impact

All signals point to a genuine but bounded availability issue rather than a critical, high-urgency threat. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) reflects an availability-only denial of service with no confidentiality or integrity impact - the 'High' rating comes entirely from process termination, not data compromise. No EPSS score, KEV listing, or public exploit code is provided in the input; per the precision rules this is 'no public exploit identified at time of analysis.' The GitHub advisory and fix commits are the only confirmed sources. The nuance not captured by CVSS is exploitability context: brace-expansion is a transitive dependency of minimatch/glob and is nearly ubiquitous in the Node.js ecosystem, but the AV:N rating is optimistic - it only applies where an application actually passes attacker-controlled strings into brace expansion (e.g. user-supplied glob patterns). Many deployments never expose this input path, so real-world risk is far narrower than the ubiquitous footprint suggests. Net: a real, worth-patching DoS in a hugely prevalent library, but a low-to-medium operational priority absent evidence of exploitation and given the constrained trigger surface.

Exploit ScenarioDerived

An attacker submits a crafted brace pattern (e.g. '{'+'{a},'.repeat(50000)+'b}' or a single brace group with hundreds of thousands of comma parts) to an application that feeds untrusted input into brace-expansion, directly or via minimatch/glob. Parsing recurses once per brace group and calls push.apply on a huge comma-array, exhausting the native stack before the max/maxLength bounds can apply, crashing the Node.js process. No public exploit is identified, but the fix's regression tests demonstrate the exact triggering inputs.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 28, 2026

Stack exhaustion in the npm library brace-expansion (all versions prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10) lets a crafted brace pattern terminate the Node.js process, a process-terminating denial of service. The flaw is reachable by remote, unauthenticated attackers (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5) whenever an application passes attacker-controlled strings into expand(), most commonly indirectly through minimatch or glob pattern matching of user-supplied glob or filter expressions. No public exploit code has been identified and the issue is not listed in CISA KEV, but the consuming application must expose a path to brace expansion for the bug to be reachable, so the practical risk depends entirely on how the library is embedded.

RemediationAI

Upgrade brace-expansion to the patched release on the line in use: 1.1.19, 2.1.5, 3.0.7, or 5.0.10 (see https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-6j4f-fj2g-mc7p). For transitive dependencies, run 'npm ls brace-expansion' or your lockfile audit tool to identify which line is pulled in, then bump the parent package (minimatch/glob) or add an npm overrides/resolutions entry pinning the fixed version; note that several parent packages have not yet adopted the newest line, so forcing a major-version override can cause peer-dependency conflicts and must be smoke-tested. There is no configuration workaround inside the library: the max and maxLength options do not prevent the overflow because the crash happens while parsing, before expansion, so setting them low provides no protection and should not be treated as a mitigation. The only effective compensating controls are in the consuming application and carry trade-offs: do not pass untrusted input into brace expansion at all - sanitise or reject user-supplied glob, path, and filter patterns before they reach minimatch/glob (this will change or break legitimate wildcard-input features), and constrain any endpoint that accepts a pattern by length and character set (a cheap partial mitigation, since exploitation needs either thousands of chained brace groups or a very large comma list, but it is brittle). If input cannot be sanitised, isolate the parsing work so a crash does not take down the service - run brace expansion in a worker thread or child process with a memory-limited heap and restart-on-exit supervision, accepting the added latency and operational complexity of process isolation.

Affected VersionsENISA

brace-expansion 3.0.0, < 3.0.7
brace-expansion 4.0.0, < 5.0.10
brace-expansion 2.0.0, < 2.1.5
brace-expansion < 1.1.19

Affected Packages

npm brace-expansion fix: 1.1.19, 2.1.5, 3.0.7, 5.0.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

brace-expansion is a small parsing primitive that turns bash-style brace patterns such as '{a,b}c' or 'x{1..3}y' into the list of literal strings they denote; it is a transitive dependency of widely used pattern-matching packages like minimatch and glob. The vulnerability is CWE-400 (Uncontrolled Resource Consumption), specifically native stack exhaustion during parsing rather than during expansion. In the affected parseCommaParts function two distinct code paths overflow the V8 call stack: the function recursed on the remainder of the pattern once per brace group, so a chain of roughly 7,000 comma-separated brace groups (about 29 KB of input) blew the stack; and the pattern 'parts.push.apply(parts, p)' uses Function.prototype.apply to pass one argument per array element, so a single very large comma-part array overflowed the stack at a recursion depth of exactly one. Because both failures occur in parsing, before any output is generated, the max and maxLength expansion-limit options cannot bound them and do not mitigate. The fix replaces the recursion with an iterative loop that carries the unconsumed remainder forward, and replaces push.apply with a helper (pushAll) that pushes elements one at a time, per the upstream commit diffs and the accompanying regression test file test/ghsa-6j4f-fj2g-mc7p.js. The commit message notes this is the parsing-side counterpart to an earlier expansion-side overflow tracked as CVE-2026-14257.

Know when Node.js gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Where untrusted patterns reach the parser, a short crafted string reliably crashes the process with no auth or interaction; availability-only, agreeing with the vendor 7.5.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Sep 28, 2026 - 22:02 EUVD
CVE Published
Sep 28, 2026 - 20:50 cve.org
HIGH 7.5

DescriptionCVE.org

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to pass every element of a very large comma-part array as a function argument. Patterns containing many comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2,867 npm packages depend on brace-expansion (65 direct, 2,826 indirect)

Ecosystem-wide dependent count for version 4.0.0.

Technical POC Analysis

CWE-400 (Uncontrolled Resource Consumption), with CWE-674 (Uncontrolled Recursion) as the secondary classification.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

The npm brace-expansion library, a common transitive dependency for Node.js glob and minimatch pattern matching, can be driven by a crafted brace pattern to exhaust the stack and crash the Node.js process, creating a remote, unauthenticated denial-of-service risk where user-controlled patterns are expanded. The organizational impact is service availability: affected applications may experience repeated outages, degraded customer-facing functionality, and incident-response overhead until the library is no longer reachable by untrusted input. Leadership should care because the practical exposure depends entirely on how and where brace-expansion is embedded, and no public exploit identified at time of analysis and no vendor-released patch identified at time of analysis mean mitigation must be driven by inventory and compensating controls.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; enforce strict input validation and allowlisting for user-supplied glob, filter, and brace patterns, reject nested or malformed brace expressions, run Node.js processes with memory/CPU limits and automatic restart, and isolate pattern-matching workloads from critical services.

Threat Intelligence Overview

EPSS Score
0.4%
Top 74% exploitable
Prevalence
Ubiquitous
core npm string-expansion lib, transitive dep of minimatch/glob everywhere
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 12 Not-Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.3 Affected
SUSE Linux Enterprise Micro 5.3 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy