Allocation of Resources Without Limits or Throttling Affecting @isaacs/brace-expansion package, versions <5.0.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ISAACSBRACEEXPANSION-15208653
  • published5 Feb 2026
  • disclosed4 Feb 2026
  • creditJvr2022

Introduced: 4 Feb 2026

NewCVE-2026-25547  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade @isaacs/brace-expansion to version 5.0.1 or higher.

Overview

@isaacs/brace-expansion is a Brace expansion as known from sh/bash

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling due to unbounded brace range expansion. An attacker can cause excessive CPU and memory consumption, potentially crashing the process and the services relying on this library, by supplying patterns with repeated numeric brace ranges that trigger exponential expansion.

PoC

const { expand } = require('@isaacs/brace-expansion');

const pattern = '{0..99}{0..99}{0..99}{0..99}{0..99}';

console.log('Starting expansion...');
expand(pattern);

References

CVSS Base Scores

version 4.0
version 3.1