Resource exhaustion in Juliangruber Brace-Expansion
CVE-2026-102276
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Juliangruber Brace-Expansion — versions < 1.1.19, >= 2.0.0, < 2.1.5, >= 3.0.0, < 3.0.7
Weakness classification (CWE)
References
- github.com/juliangruber/brace-expansion/security/advisories/GHSA-6j4f-fj2g-mc7p
- github.com/juliangruber/brace-expansion/commit/0bcbfc0a5928c3073d48f42999d1ce4f…
- github.com/juliangruber/brace-expansion/commit/316359e6019c39b3254c8ba8e25dc586…
- github.com/juliangruber/brace-expansion/commit/5171e681c0922b7ae8bfaf9a331e3091…
- github.com/juliangruber/brace-expansion/commit/6735c94873ca570bcdd6a0690033bdd3…
Frequently asked questions
- What is CVE-2026-102276?
- CVE-2026-102276 is a high-severity vulnerability in Juliangruber Brace-Expansion, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2026-09-28.
- How severe is CVE-2026-102276?
- High severity. CVSS v3 base score is 7.5 out of 10.