Skip to main content

CVE-2026-102278: CWE-400: Uncontrolled Resource Consumption in juliangruber brace-expansion

0
High
VulnerabilityCVE-2026-102278cvecve-2026-102278cwe-400cwe-674
Published: 09/28/2026 (09/28/2026, 20:57:09 UTC)
Source: CVE Database V5
Vendor/Project: juliangruber
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

juliangruber

brace-expansion

Affected versions
>=4.0.0 <5.0.11>=3.0.0 <3.0.8>=2.0.0 <2.1.6<1.1.20
brace-expansion
pkg:npm/brace-expansion
Affected versions
<1.1.20>=2.0.0 <2.1.6>=3.0.0 <3.0.8>=4.0.0 <5.0.11

Run 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

AILast updated: 09/28/2026, 21:17:43 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses