High severity · published Jun 30, 2026
CVE-2026-13149
brace-expansion through 5.0.6 is vulnerable to denial of service
7.7
CVSS
0.4%
EPSS
No
On KEV
Description
brace-expansion through 5.0.6 is vulnerable to denial of service. The expand() function exhibits exponential-time complexity in the number of consecutive non-expanding '{}' brace groups. An attacker who passes a crafted string to expand(), directly or transitively, can cause significant CPU consumption and event-loop blocking. The max option does not mitigate this, as it bounds the output size rather than the recursion work.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BR
brace-expansion · juliangruber
through 5.0.6 · source: vendor
Affected product
BR
brace-expansion
juliangruber
More from brace-expansion
7.5
CVE-2026-102278
brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
7.5
CVE-2026-102276
brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
7.5
CVE-2026-69152
brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
7.5
CVE-2026-14257
brace-expansion DoS via unbounded expansion length causing an out-of-memory process crash
7.5
CVE-2026-45149
brace-expansion: Large numeric range defeats documented `max` DoS protection