CVE-2026-102278: CWE-400: Uncontrolled Resource Consumption in juliangruber brace-expansion
The brace-expansion library versions prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11 contain a vulnerability where deeply nested brace groups cause uncontrolled recursion in the expand_() function. This leads to native stack exhaustion and can terminate the Node.js process, resulting in a denial of service. The issue affects multiple expansion scenarios including comma members and single sets. The vulnerability is fixed in the specified versions.
AI Analysis
Technical Summary
CVE-2026-102278 describes an uncontrolled resource consumption vulnerability (CWE-400) in the juliangruber brace-expansion library. The library generates arbitrary strings with common prefixes and suffixes using brace expansions. In versions prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause the expand_() function to recurse once per nesting level at comma-member and single-set expansion sites. This uncontrolled recursion exhausts the native stack before output limits can apply, potentially terminating the Node.js process. The vulnerability affects the expand_, expand, comma members, and single set expansion components. The issue is resolved in the fixed versions listed.
Potential Impact
An attacker supplying deeply nested brace groups as untrusted input can cause the Node.js process to terminate due to native stack exhaustion. This results in a process-terminating denial of service (DoS) condition. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
This vulnerability is fixed in brace-expansion versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11. Users should upgrade to these or later versions to mitigate the risk. No additional vendor advisory indicates other mitigations or that no action is required.
CVE-2026-102278: CWE-400: Uncontrolled Resource Consumption in juliangruber brace-expansion
Description
The brace-expansion library versions prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11 contain a vulnerability where deeply nested brace groups cause uncontrolled recursion in the expand_() function. This leads to native stack exhaustion and can terminate the Node.js process, resulting in a denial of service. The issue affects multiple expansion scenarios including comma members and single sets. The vulnerability is fixed in the specified versions.
CVSS v3.1
Score 7.5high
Affected software
juliangruber
brace-expansion
pkg:npm/brace-expansionRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-102278 describes an uncontrolled resource consumption vulnerability (CWE-400) in the juliangruber brace-expansion library. The library generates arbitrary strings with common prefixes and suffixes using brace expansions. In versions prior to 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause the expand_() function to recurse once per nesting level at comma-member and single-set expansion sites. This uncontrolled recursion exhausts the native stack before output limits can apply, potentially terminating the Node.js process. The vulnerability affects the expand_, expand, comma members, and single set expansion components. The issue is resolved in the fixed versions listed.
Potential Impact
An attacker supplying deeply nested brace groups as untrusted input can cause the Node.js process to terminate due to native stack exhaustion. This results in a process-terminating denial of service (DoS) condition. There is no impact on confidentiality or integrity, but availability is severely affected.
Mitigation Recommendations
This vulnerability is fixed in brace-expansion versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11. Users should upgrade to these or later versions to mitigate the risk. No additional vendor advisory indicates other mitigations or that no action is required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-28T20:11:16.659Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6abad639f7a7c54106343f6f
Added to database: 09/28/2026, 21:03:53 UTC
Last enriched: 09/28/2026, 21:17:43 UTC
Last updated: 09/28/2026, 22:10:32 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.