CVE-2026-13149
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.
- CVSS 4.0
- 7.7
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.4% chance of exploitation in the next 30 days; higher than 29% of CVEs (scores of 2026-10-25)
- CWEs
- CWE-400, CWE-407
- Published
- Modified
- Record from
- the NVD, synced
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-3jxr-9vmj-r5cp | npm | brace-expansion | >=3.0.0 <5.0.7 | 5.0.7 |
| GHSA-3jxr-9vmj-r5cp | npm | brace-expansion | <1.1.16 | 1.1.16 |
| GHSA-3jxr-9vmj-r5cp | npm | brace-expansion | >=2.0.0 <2.1.2 | 2.1.2 |