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

No CVSS.

Configurations

No configuration.

History

30 Jun 2026, 10:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-30 10:16

Updated : 2026-07-08 12:17


NVD link : CVE-2026-13149

Mitre link : CVE-2026-13149

CVE.ORG link : CVE-2026-13149


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption

CWE-407

Inefficient Algorithmic Complexity