Live threats

All CVEs / Juliangruber

CVE-2026-33750Juliangruber Brace-expansion

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 27, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Brace-expansion.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm brace-expansion ≥ 4.0.0 < 5.0.5 5.0.5 npm install brace-expansion@5.0.5
npm brace-expansion ≥ 3.0.0 < 3.0.2 3.0.2 npm install brace-expansion@3.0.2
npm brace-expansion ≥ 2.0.0 < 2.0.3 2.0.3 npm install brace-expansion@2.0.3
npm brace-expansion < 1.1.13 1.1.13 npm install brace-expansion@1.1.13

Per OSV / GitHub Advisories (GHSA-f886-m6hf-6m8v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
juliangruberbrace-expansion< 1.1.13
juliangruberbrace-expansion≥ 2.0.0 < 2.0.3
juliangruberbrace-expansion≥ 3.0.0 < 3.0.2
juliangruberbrace-expansion≥ 5.0.0 < 5.0.5

Official sources

References

Links published by the sources. Open them with care.