Install
brace-expansion
Brace expansion as known from sh/bash
5.1.2Latest, 30 Nov 2026
3.7BDownloads, last month
0Advisories on the latest
10Advisories, all versions
MITLicence
247Stars
7.2/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| High | brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion CVE-2026-102276 | Fixed in 3.0.7, 2.1.5, 1.1.19 | 29 Sep 2026 |
| Moderate | brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service CVE-2026-102277 | Fixed in 3.0.9, 2.1.7, 1.1.21 | 29 Sep 2026 |
| High | brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion CVE-2026-102278 | Fixed in 3.0.8, 2.1.6, 1.1.20 | 29 Sep 2026 |
| High | brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation CVE-2026-69152 | Fixed in 2.1.4, 3.0.6, 5.0.9 | 3 Aug 2026 |
| High | brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash CVE-2026-14257 | Fixed in 3.0.3, 2.1.3, 1.1.17 | 24 Jul 2026 |
| High | brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups CVE-2026-13149 | Fixed in 5.0.7, 1.1.16, 2.1.2 | 20 Jul 2026 |
| Moderate | brace-expansion: Large numeric range defeats documented `max` DoS protection CVE-2026-45149 | Fixed in 5.0.6 | 18 May 2026 |
| Moderate | brace-expansion: Zero-step sequence causes process hang and memory exhaustion CVE-2026-33750 | Fixed in 3.0.2, 2.0.3, 1.1.13 | 26 Mar 2026 |
| Low | brace-expansion Regular Expression Denial of Service vulnerability CVE-2025-5889 | Fixed in 1.1.12, 3.0.1, 4.0.1 | 9 Jun 2025 |
| High | ReDoS in brace-expansion CVE-2017-18077 | Fixed in 1.1.7 | 29 Jan 2018 |
In the news
- Repeating zsh brace expansion values in zsh to download multiple files using wget2 unix.stackexchange.com, 26 Aug 2024
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.