Vulnerability · Published Sep 28, 2026 · Assigned by GitHub_M

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

High 7.5

In plain English

A high-severity uncontrolled resource consumption in brace-expansion from juliangruber. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 60.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9nodejs1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8nodejs-devel1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9nodejs-devel1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8nodejs-docs1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9nodejs-docs1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8nodejs-full-i18n1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9nodejs-full-i18n1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8nodejs-libs1:24.22.1-1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9nodejs-libs1:24.22.1-3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8nodejs-nodemon3.1.14-2.module_el8.10.0+4250+09238ed4ALSA-2026:92376
AlmaLinux:9nodejs-nodemon3.1.14-3.module_el9.8.0+292+f4eaf8b2ALSA-2026:92378
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:92376
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:92378
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:92376
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:92378
AlmaLinux:8npm1:11.19.1-1.24.22.1.1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9npm1:11.19.1-1.24.22.1.3.module_el9.8.0+333+788f3075ALSA-2026:92378
AlmaLinux:8v8-13.6-devel3:13.6.233.17-1.24.22.1.1.module_el8.10.0+4331+0683c9c1ALSA-2026:92376
AlmaLinux:9v8-13.6-devel3:13.6.233.17-1.24.22.1.3.module_el9.8.0+333+788f3075ALSA-2026:92378
Debian:12node-brace-expansionno fix listedDEBIAN-CVE-2026-102276
Debian:13node-brace-expansionno fix listedDEBIAN-CVE-2026-102276
Debian:14node-brace-expansion2.1.7+~1.1.2-1DEBIAN-CVE-2026-102276
Rocky Linux:9nodejs1:24.22.1-3.module+el9.8.0+40401+e24b8c95RLSA-2026:92378
Rocky Linux:8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40278+50b003a3RLSA-2026:92376
Rocky Linux:8nodejs-nodemon0:3.1.14-2.module+el8.10.0+40277+b1b3f89eRLSA-2026:92376
Rocky Linux:9nodejs-nodemon0:3.1.14-3.module+el9.8.0+40281+14cc6568RLSA-2026:92378
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40172+38f6fdd1RLSA-2026:92376
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:92376
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40171+8fa9c325RLSA-2026:92376
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40153+4d595597RLSA-2026:92378
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40165+d075e3f2RLSA-2026:92378
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.8.0+40164+8921ab53RLSA-2026:92378
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:92378
Ubuntu:22.04:LTSnode-brace-expansionno fix listedUBUNTU-CVE-2026-102276
Ubuntu:24.04:LTSnode-brace-expansionno fix listedUBUNTU-CVE-2026-102276
Ubuntu:26.04:LTSnode-brace-expansionno fix listedUBUNTU-CVE-2026-102276
Ubuntu:26.10node-brace-expansionno fix listedUBUNTU-CVE-2026-102276
npmbrace-expansion1.1.19GHSA-6j4f-fj2g-mc7p
npmbrace-expansion2.1.5GHSA-6j4f-fj2g-mc7p
npmbrace-expansion3.0.7GHSA-6j4f-fj2g-mc7p
npmbrace-expansion5.0.10GHSA-6j4f-fj2g-mc7p

Affected products (as reported)

VendorProductVersions
juliangruber brace-expansion >= 4.0.0, < 5.0.10>= 3.0.0, < 3.0.7>= 2.0.0, < 2.1.5< 1.1.19

Weakness: CWE-400, CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References