Denial of Service Vulnerability in @isaacs/brace-expansion Library
CVE-2026-25547
9.2CRITICAL
What is CVE-2026-25547?
The @isaacs/brace-expansion library, a hybrid CommonJS and ESM TypeScript fork, is susceptible to a denial of service attack due to unbounded brace range expansion. An attacker can exploit this vulnerability by providing patterns with repeated numeric brace ranges, which causes the library to attempt to generate every possible combination. This exponential growth in processing demands can lead to excessive CPU and memory consumption, potentially crashing the Node.js process. This issue has been addressed in version 5.0.1, and users are urged to upgrade to mitigate this risk.
Affected Version(s)
brace-expansion < 5.0.1
