Arbitrary String Generation Vulnerability in Brace Expansion Library Affecting Multiple Versions
CVE-2026-69152
7.5HIGH
What is CVE-2026-69152?
The brace-expansion library has a critical flaw that enables the generation of arbitrary strings, forming unacceptable patterns from user-provided input. Specifically, in versions prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9, the expand() function fails to enforce a maximum length restriction while constructing intermediate arrays or padded sequences. As a result, this oversight allows attackers to exploit the vulnerability, potentially consuming system memory and blocking the event loop, leading to significant degradation of service availability.
Affected Version(s)
brace-expansion < 1.1.18 < 1.1.18
brace-expansion >= 2.0.0, < 2.1.4 < 2.0.0, 2.1.4
brace-expansion >= 3.0.0, < 3.0.6 < 3.0.0, 3.0.6
