Live threats

All CVEs / juliangruber

CVE-2026-102278juliangruber brace-expansion

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Sep 28, 2026
Updated
Oct 1, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-674
SSVC (CISA)
Exploitation: none · Automatable: yes · 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 1.1.20, 2.1.6, 3.0.8, and 5.0.11, deeply nested brace groups cause expand_() to recurse once per nesting level at comma-member and single-set expansion sites, exhausting the native stack before output limits can apply and potentially terminating the Node.js process. expand_ performs uncontrolled recursion for nested brace alternatives and single-part sets. deeply nested brace groups supplied as an untrusted pattern. expand_ is affected. expand is affected. Comma members is affected. Single set is affected. native stack exhaustion during nested sub-expansion. process-terminating denial of service. This issue is fixed in versions 1.1.20, 2.1.6, 3.0.8, and 5.0.11.

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.11 5.0.11 npm install brace-expansion@5.0.11
npm brace-expansion ≥ 3.0.0 < 3.0.8 3.0.8 npm install brace-expansion@3.0.8
npm brace-expansion ≥ 2.0.0 < 2.1.6 2.1.6 npm install brace-expansion@2.1.6
npm brace-expansion < 1.1.20 1.1.20 npm install brace-expansion@1.1.20

Per OSV / GitHub Advisories (GHSA-qhr7-859c-m2p7). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+19), SUSE (+2)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.