CVE-2026-25547: Denial of Service in @isaacs/brace-expansion via unbounded brace range expansion
CVE-2026-25547 is a denial-of-service vulnerability in @isaacs/brace-expansion, a hybrid CommonJS/ESM TypeScript fork of brace-expansion. Versions prior to 5.0.1 perform eager, synchronous expansion of brace patterns without adequate bounds checking. When processing attacker-supplied patterns containing repeated numeric brace ranges, the library attempts to generate every possible expansion combination, causing exponential growth in work and output size. This uncontrolled expansion can rapidly exhaust CPU and memory resources and terminate the Node.js process. The issue is fixed in version 5.0.1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation causes uncontrolled resource consumption in the affected Node.js application. A small crafted input can trigger exponential synchronous processing, monopolize CPU, consume large amounts of memory, block the event loop, degrade service responsiveness, and potentially crash the process through resource exhaustion. The primary security impact is denial of service rather than code execution or data exposure.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, prevent untrusted or user-controlled input from reaching brace expansion functionality. Enforce strict validation and complexity limits on accepted patterns, including limits on numeric range size, repeated ranges, nesting depth, and total expansion count. Apply execution timeouts and isolate expansion logic in a worker or separate process with CPU and memory limits so that resource exhaustion does not crash the entire service.
Remediation
Patch, then assume compromise.
Upgrade @isaacs/brace-expansion to version 5.0.1 or later. Where the package is bundled transitively, update the parent dependency or vendor package so that the resolved version includes the upstream fix. For operating-system or product-distributed builds that embed the library, apply the vendor-provided security updates that incorporate the patched package version.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Frequently asked questions
- Is CVE-2026-25547 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-25547 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-25547?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-25547.
- Is there a patch for CVE-2026-25547?
- Upgrade @isaacs/brace-expansion to version 5.0.1 or later. Where the package is bundled transitively, update the parent dependency or vendor package so that the resolved version includes the upstream fix.
- How severe is CVE-2026-25547?
- CVE-2026-25547 has a CVSS v4 score of 9.2 (Critical) and an EPSS score of 0.54% (46th percentile) as of Sep 25, 2026.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.