Description
index.js in brace-expansion before 1.1.7 is vulnerable to Regular Expression Denial of Service (ReDoS) attacks, as demonstrated by an expand argument containing many comma characters.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-brace-expansion | 1.1.8-1 | — |
| Debian 13 | node-brace-expansion | 1.1.8-1 | — |
| Debian 12 | node-brace-expansion | 1.1.8-1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | rh-nodejs8-nodejs +2 | 8.17.0-2.el7 | RHSA-2020:2625 |
| RHEL 3 | rh-nodejs8-npm | 6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | brace-expansion | < 1.1.7 | 1.1.7 | GHSA-832h-xg76-4gv6 |
Advisories 2
- WID-SEC-2026-2183 Red Hat Software Collections: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 2, 2026
- RHSA-2020:2625 Red Hat Security Advisory: rh-nodejs8-nodejs security update Red Hat Security Advisories (RHSA) · Jun 28, 2026