Vulnerability
CVE-2026-102278
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.
401 advisories report this vulnerability, across 12 ecosystems.
Advisories in Wolfi
- CGA-2rgj-jc9m-7hh6
- CGA-3m34-rg79-63gm
- CGA-3whx-qjf8-wg3p
- CGA-45w7-6h6c-cg99
- CGA-479f-8rp9-vrr8
- CGA-4mfm-w9px-x274
- CGA-4xq3-3jvw-xp34
- CGA-5498-6jj4-943h
- CGA-54rg-66wc-4p8g
- CGA-56vc-4639-4x7g
- CGA-5c8f-fcjg-32rc
- CGA-5q86-rwqp-g4g5
- CGA-5r3c-2cf5-2343
- CGA-699w-qc6w-82xg
- CGA-6qc8-2vvh-r347
- CGA-79mr-2fg7-xpw4
- CGA-7m8j-pgjv-jjwq
- CGA-8cff-ggf8-jwp8
- CGA-8m84-chq5-49q6
- CGA-cqvj-r7x5-5ccr
- CGA-f38q-6xhg-7phc
- CGA-fpvg-g9v9-82xf
- CGA-hcqw-292r-mjhx
- CGA-hmj6-fp4v-68f7
- CGA-hvgg-g46v-4r26
- CGA-j5w6-6c8f-p7rc
- CGA-m4mw-mj4p-x37c
- CGA-mjj3-849x-63v7
- CGA-mq82-pvmv-653p
- CGA-ph8r-hcxr-jcgh
- CGA-phqm-xfjh-w4wx
- CGA-prpv-fhq6-q47c
- CGA-pvpm-wxxc-vp8g
- CGA-px64-g49x-4phf
- CGA-q7g4-fr2p-775x
- CGA-qggm-vh8q-pvpc
- CGA-r6r8-2wmw-rcx2
- CGA-rp5h-49h4-m43r
- CGA-v6p7-r9jf-72gg
- CGA-v898-58pw-9p2w
- CGA-vx6r-jc8v-58q7
- CGA-wchv-mv3r-xf88
- CGA-x3fc-r5hq-7jc8
- CGA-xqcj-88rx-mhhg
References
- https://github.com/juliangruber/brace-expansion/commit/1efee7c397c191da6287a78ec19512476a966a7b
- https://github.com/juliangruber/brace-expansion/commit/935d78f32f335b2ff76578e5c5e877d31ae9888c
- https://github.com/juliangruber/brace-expansion/commit/de84f144e9816f30e25fc8179e2e1249ab6df0db
- https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-qhr7-859c-m2p7