Live threats

All CVEs / juliangruber

CVE-2026-102277juliangruber brace-expansion

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Sep 28, 2026
Updated
Sep 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-407
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:L

What happens

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.

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.12 5.0.12 npm install brace-expansion@5.0.12
npm brace-expansion ≥ 3.0.0 < 3.0.9 3.0.9 npm install brace-expansion@3.0.9
npm brace-expansion ≥ 2.0.0 < 2.1.7 2.1.7 npm install brace-expansion@2.1.7
npm brace-expansion < 1.1.21 1.1.21 npm install brace-expansion@1.1.21

Per OSV / GitHub Advisories (GHSA-q2hr-2g5m-vwhr). 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 (+2), SUSE (+3)

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

Official sources

References

Links published by the sources. Open them with care.