CVE-2026-102276juliangruber brace-expansion
High 7.5 No auth needed
Follow: this CVE · juliangruber · juliangruber brace-expansion We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 28, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- 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.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to pass every element of a very large comma-part array as a function argument. Patterns containing many comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.
What to do
- Apply the vendor's security update for brace-expansion.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | brace-expansion |
≥ 4.0.0 < 5.0.10 |
5.0.10 |
npm install brace-expansion@5.0.10 |
| npm | brace-expansion |
≥ 3.0.0 < 3.0.7 |
3.0.7 |
npm install brace-expansion@3.0.7 |
| npm | brace-expansion |
≥ 2.0.0 < 2.1.5 |
2.1.5 |
npm install brace-expansion@2.1.5 |
| npm | brace-expansion |
< 1.1.19 |
1.1.19 |
npm install brace-expansion@1.1.19 |
Per OSV / GitHub Advisories (GHSA-6j4f-fj2g-mc7p). Check the version in your lockfile before upgrading.
Affected products
- juliangruber · brace-expansion
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: nodejs-nodemon security update · Red Hat · RHSA-2026:105861 · Dec 1, 2026 High
- Security update for golang-github-prometheus-prometheus · SUSE · SUSE-SU-2026:5448-1 · Nov 25, 2026 Critical
- Security update for Multi-Linux Manager Client Tools and Salt Bundle · SUSE · SUSE-SU-2026:5446-1 · Nov 25, 2026 Critical
- Red Hat Security Advisory: cockpit-image-builder security update · Red Hat · RHSA-2026:99115 · Nov 23, 2026 Critical
- Red Hat Security Advisory: nodejs26 security, bug fix, and enhancement update · Red Hat · RHSA-2026:98619 · Nov 23, 2026 High
- velociraptor-0.77.3.0.git141.b1612b50b-1.1 on GA media · SUSE · openSUSE-SU-2026:12622-1 · Nov 19, 2026 Critical
Also: Red Hat (+16), 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.