# brace-expansion (npm)

Brace expansion as known from sh/bash

- Latest: 5.1.2 (2026-11-30)
- Licence: MIT
- Downloads: 3653399715 last month
- Advisories on the latest version: 0

- CVE-2026-102276 HIGH: brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion Fixed in 3.0.7, 2.1.5, 1.1.19.
- CVE-2026-102277 MODERATE: brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service Fixed in 3.0.9, 2.1.7, 1.1.21.
- CVE-2026-102278 HIGH: brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion Fixed in 3.0.8, 2.1.6, 1.1.20.
- CVE-2026-69152 HIGH: brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation Fixed in 2.1.4, 3.0.6, 5.0.9.
- CVE-2026-14257 HIGH: brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash Fixed in 3.0.3, 2.1.3, 1.1.17.
- CVE-2026-13149 HIGH: brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups Fixed in 5.0.7, 1.1.16, 2.1.2.
- CVE-2026-45149 MODERATE: brace-expansion: Large numeric range defeats documented `max` DoS protection Fixed in 5.0.6.
- CVE-2026-33750 MODERATE: brace-expansion: Zero-step sequence causes process hang and memory exhaustion Fixed in 3.0.2, 2.0.3, 1.1.13.
- CVE-2025-5889 LOW: brace-expansion Regular Expression Denial of Service vulnerability Fixed in 1.1.12, 3.0.1, 4.0.1.
- CVE-2017-18077 HIGH: ReDoS in brace-expansion Fixed in 1.1.7.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.
