CVE-2026-13149

HIGH CVSS 4.0: 7.7 EPSS 0.36%
Updated Oct 26, 2026
brace-expansion
Parameter Value
CVSS 7.7 (HIGH)
Type CWE-400 (Uncontrolled Resource Consumption), CWE-407
Vendor brace-expansion
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0