{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-102278","id":"CVE-2026-102278","title":"brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion","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","descriptionLong":"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.","published":"2026-09-28T20:57:09.850Z","updated":"2026-11-20T11:42:25.564047706Z","reserved":"2026-09-28T20:11:16.659Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["juliangruber brace-expansion"],"affectedProducts":[{"vendor":"juliangruber","product":"brace-expansion","defaultStatus":null,"versions":[{"version":">= 4.0.0, < 5.0.11","status":"affected"},{"version":">= 3.0.0, < 3.0.8","status":"affected"},{"version":">= 2.0.0, < 2.1.6","status":"affected"},{"version":"< 1.1.20","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"brace-expansion","purl":"pkg:npm/brace-expansion","ranges":[">=4.0.0 <5.0.11",">=3.0.0 <3.0.8",">=2.0.0 <2.1.6","<1.1.20"],"fixed":["5.0.11","3.0.8","2.1.6","1.1.20"],"advisory":"GHSA-qhr7-859c-m2p7"}],"cwes":["CWE-400","CWE-674"],"aliases":["GHSA-qhr7-859c-m2p7"],"references":[{"url":"https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-qhr7-859c-m2p7","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/1efee7c397c191da6287a78ec19512476a966a7b","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/935d78f32f335b2ff76578e5c5e877d31ae9888c","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/de84f144e9816f30e25fc8179e2e1249ab6df0db","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102278.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102278","tags":["advisory"]},{"url":"https://github.com/juliangruber/brace-expansion","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00491,"epssPercentile":0.4311,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102278","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102278","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-102278","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qhr7-859c-m2p7","ok":true,"note":"GHSA-qhr7-859c-m2p7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102278","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}