CVE-2026-25547: Vulnerability in @isaacs/brace-expansion

Critical. @isaacs/brace-expansion is vulnerable to a Denial of Service (DoS) issue caused by unbounded brace range expansion. When an attacker provides a pattern containing repeated numeric brace ranges, the library attempts to eagerly generate every possible combination synchronously. Because the expansion grows exponentially, even a small input can consume excessive CPU and memory and may crash the Node.js process.

npm, CWE-1333

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-7h2j-956f-4vf2
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-1333
Published
3 Feb 2026
Last change
17 Jun 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @isaacs/brace-expansion npm, Affected through 5.0.0. Fixed in 5.0.1

Advisories

Vendor and security advisories