CVE Catalog

CVE-2026-13149

HighCVSS 7.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.36%

28th percentile - higher than 28% of all known CVEs

Summary

A vulnerability in brace-expansion up to version 5.0.6 allows a DoS attack by sending a crafted string with many consecutive non-expanding '{}' brace groups. The expand() function has exponential time complexity, causing high CPU consumption and event-loop blocking.

Risk Assessment

An attacker can remotely overload the server or application, causing service unavailability. The max option does not mitigate this, as it only limits output size, not computational complexity.

Recommendation

Immediately update brace-expansion to version 5.0.7 or later, which includes a fix. If an update is not possible, restrict access to the expand() function for untrusted input.

Other vulnerabilities in brace-expansion

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS