Resource Exhaustion Affecting node-brace-expansion package, versions <2.0.1+~1.1.0-2+e1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.64% (50th 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 IDSNYK-ECHOLATEST-NODEBRACEEXPANSION-18021976
  • published20 Jul 2026
  • disclosed27 Mar 2026

Introduced: 27 Mar 2026

CVE-2026-33750  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-brace-expansion to version 2.0.1+~1.1.0-2+e1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-brace-expansion package and not the node-brace-expansion package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13, a brace pattern with a zero step value (e.g., {1..2..0}) causes the sequence generation loop to run indefinitely, making the process hang for seconds and allocate heaps of memory. Versions 5.0.5, 3.0.2, 2.0.3, and 1.1.13 fix the issue. As a workaround, sanitize strings passed to expand() to ensure a step value of 0 is not used.

CVSS Base Scores

version 3.1