Is brace-expansion 2.0.1 vulnerable?

brace-expansion 2.0.1, a JavaScript package on npm. All 4 versions we track · npm page

8 vulnerabilities, 5 high

Upgrade brace-expansion from 2.0.1 to 2.1.7 or later; that fixes all of them.

Known vulnerabilities in brace-expansion 2.0.1

  • High CVSS 5.3

    CVE-2026-13149: brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups

    GHSA-3jxr-9vmj-r5cp · published 20 Jul 2026 · fixed in 2.1.2

  • High CVSS 7.5

    CVE-2026-102276: brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion

    GHSA-6j4f-fj2g-mc7p · published 29 Sep 2026 · fixed in 2.1.5

  • High CVSS 7.5

    CVE-2026-14257: brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash

    GHSA-mh99-v99m-4gvg · published 24 Jul 2026 · fixed in 2.1.3

  • High CVSS 7.5

    CVE-2026-102278: brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion

    GHSA-qhr7-859c-m2p7 · published 29 Sep 2026 · fixed in 2.1.6

  • High CVSS 7.5

    CVE-2026-69152: brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation

    GHSA-rgw5-rvv9-x895 · published 3 Aug 2026 · fixed in 2.1.4

  • Medium CVSS 6.5

    CVE-2026-33750: brace-expansion: Zero-step sequence causes process hang and memory exhaustion

    GHSA-f886-m6hf-6m8v · published 26 Mar 2026 · fixed in 2.0.3

  • Medium CVSS 5.3

    CVE-2026-102277: brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service

    GHSA-q2hr-2g5m-vwhr · published 29 Sep 2026 · fixed in 2.1.7

  • Low CVSS 3.1

    CVE-2025-5889: brace-expansion Regular Expression Denial of Service vulnerability

    GHSA-v6h2-p8h4-qcjw · published 9 Jun 2025 · fixed in 2.0.2

How to fix it

With package-lock.json:

npm install brace-expansion@2.1.7
# if it is an indirect dependency: npm update brace-expansion (or npm audit fix)
  • If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
  • Check the package's changelog for breaking changes (especially across major versions), update the lockfile with the package manager (never by hand), and run your tests.

Other versions of brace-expansion

Newest version we track without known advisories: 5.0.13.

VersionKnown vulnerabilitiesHighest severity
5.0.13 0 None
2.1.8 0 None
2.0.1 (this page) 8 High
1.1.22 0 None

Every version of brace-expansion →

Licence

brace-expansion 2.0.1 declares MIT .

Check your whole project

brace-expansion is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.

Get emailed about new advisories for brace-expansion (free, no account)

About this data

Vulnerability data: OSV.dev, last checked 22 November 2026. Licence: deps.dev. AIssue checks the versions on this page every day. Severity comes from the advisory's own rating when it has one, else from its CVSS score.