Vulnerability · Published Sep 28, 2026 · Assigned by GitHub_M

CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups 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 42% 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 57.6% 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.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.

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-102278
Debian:13node-brace-expansionno fix listedDEBIAN-CVE-2026-102278
Debian:14node-brace-expansion2.1.7+~1.1.2-1DEBIAN-CVE-2026-102278
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-102278
Ubuntu:24.04:LTSnode-brace-expansionno fix listedUBUNTU-CVE-2026-102278
Ubuntu:26.04:LTSnode-brace-expansionno fix listedUBUNTU-CVE-2026-102278
Ubuntu:26.10node-brace-expansionno fix listedUBUNTU-CVE-2026-102278
npmbrace-expansion1.1.20GHSA-qhr7-859c-m2p7
npmbrace-expansion2.1.6GHSA-qhr7-859c-m2p7
npmbrace-expansion3.0.8GHSA-qhr7-859c-m2p7
npmbrace-expansion5.0.11GHSA-qhr7-859c-m2p7

Affected products (as reported)

VendorProductVersions
juliangruber brace-expansion >= 4.0.0, < 5.0.11>= 3.0.0, < 3.0.8>= 2.0.0, < 2.1.6< 1.1.20

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