Uncontrolled Recursion in brace-expansion - CVE-2026-102276

 

Uncontrolled Recursion in brace-expansion - CVE-2026-102276

Published: November 10, 2026


Vulnerability identifier: #VU164365
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102276
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by crashing applications that process untrusted brace-expansion patterns.

The vulnerability exists due to uncontrolled recursion and unbounded push.apply argument lists in brace-expansion's parseCommaParts() when parsing untrusted patterns. A remote attacker can supply expand('{' + '{a},'.repeat(7000) + 'b}') or expand('{{x},' + 'a,'.repeat(125000) + 'b}') to exhaust the stack and terminate applications that do not catch the resulting RangeError.


Affected software

brace-expansion
Db2 Developer Extension
Fedora
nodejs22
nodejs26

How to mitigate CVE-2026-102276

Install security update from vendor's website.

brace-expansion - addressed in versions 1.1.19, 2.1.5, 3.0.7, 5.0.10
Db2 Developer Extension - update to 1.2.1
nodejs22 - update to 22.23.4-4.fc45
nodejs26 - update to 26.12.1-2.fc45

External References

Related Security Bulletins