Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
juliangruber brace-expansion
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

brace-expansion 库会生成包含公共前缀和后缀的任意字符串。在版本 1.1.19、2.1.5、3.0.7 和 5.0.10 之前,精心构造的花括号表达式(brace patterns)可能导致 native 栈溢出。原因是 函数会对每个花括号组递归处理剩余部分,并使用 将一个非常大的逗号分隔数组(comma-part array)的所有元素作为函数参数传递。当表达式中包含大量用逗号分隔的花括号组时,会触发递归路径;而该数组过大时,会触发参数数组路径,且无需深层递归即可发生。这些路径会在 或 限制输出之前

CVSS 7.5 · High

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-102276

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
juliangruber brace-expansion >= 4.0.0, < 5.0.10 -

II. Public POCs for CVE-2026-102276

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-102276

请登录查看更多情报信息。

Other References for CVE-2026-102276 (5)

Same Patch Batch · juliangruber · 2026-09-28 · 3 CVEs total

CVE-2026-102278 7.5 HIGH brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhau
CVE-2026-102277 5.3 MEDIUM brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of ser

IV. Related Vulnerabilities

V. Comments for CVE-2026-102276

No comments yet


Leave a comment