CVE-2026-13149CWE-400CWE-407

brace-expansion through 5.0.6 is vulnerable to denial of service

High · published June 30, 2026

CVSS v4.0
7.7
EPSS
0%
Percentile
29.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/S:N/AU:Y/R:U/V:D/RE:M/U:Amber
EPSS
0.00364 · 29.1th percentile
Weaknesses
CWE-400 · Uncontrolled Resource Consumption; CWE-407 · Inefficient Algorithmic Complexity
Published
2026-06-30T08:30Z
EPSS history
Timeline
  • 30 JUN 08:30Z
    brace-expansion through 5.0.6 is vulnerable to denial of service
    cvelistv5