{"id":"CVE-2026-69152","published":"2026-08-03T16:33:36Z","modified":"2026-08-03T20:12:20Z","title":"brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation","vendor":"juliangruber","product":"brace-expansion","tier":"tail","description":{"text":"The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.18, 2.1.4, 3.0.6, and 5.0.9, expand() does not apply maxLength while constructing comma-alternative intermediate arrays or padded sequences, allowing attacker-controlled input to exhaust memory or block the event loop. The fix for CVE-2026-14257 is bypassed by the vulnerability. This issue is fixed in versions 1.1.18, 2.1.4, 3.0.6, and 5.0.9.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00571,"percentile":0.48143,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-rgw5-rvv9-x895","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d","tags":["x_refsource_MISC"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac","tags":["x_refsource_MISC"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/688a99eeaab02627c2b89ba8ba4821fecfa659cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":9.63},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"juliangruber","affectedVersions":[{"vendor":"juliangruber","product":"brace-expansion","versions":["< 1.1.18",">= 2.0.0, < 2.1.4",">= 3.0.0, < 3.0.6",">= 4.0.0, < 5.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-03T20:11:59.381371Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"brace-expansion","vulnerableRanges":["<1.1.18",">=2.0.0, <2.1.4",">=3.0.0, <3.0.6",">=4.0.0, <5.0.9"],"patched":["1.1.18","2.1.4","3.0.6","5.0.9"],"from":["GHSA-rgw5-rvv9-x895"],"provenance":"source"}],"summary":{"text":"The brace-expansion JavaScript library, which generates strings with a common prefix and suffix, fails to apply its maxLength limit while building intermediate arrays for comma alternatives and padded sequences in expand(), in versions before 1.1.18, 2.1.4, 3.0.6, and 5.0.9. An attacker who can supply input to the expand() function over the network, without authentication or user interaction, can exhaust memory or block the event loop, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:18Z"},"euvd":{"id":"EUVD-2026-52370","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-juliangruber-brace-expansion-cve-2026-45149","parents":[{"from":"CVE-2026-14257","to":"CVE-2026-69152","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"The fix for CVE-2026-14257 is bypassed by the vulnerability.","from":"CVE.org","in":"CVE-2026-69152"},{"kind":"version-step","provenance":"source","package":"npm:brace-expansion","fromFixed":"5.0.8","toFixed":"5.0.9","daysApart":11},{"kind":"version-step","provenance":"source","package":"npm:brace-expansion","fromFixed":"1.1.17","toFixed":"1.1.18","daysApart":11}]},{"from":"CVE-2026-13149","to":"CVE-2026-69152","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/juliangruber/brace-expansion/commit/c7e33ec13ac1a684c116720843ce24e208611754","https://github.com/juliangruber/brace-expansion/commit/835d6be91201122d9adffb0c0c8c094189ace265","https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d","https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac"],"basis":"shared function","functions":["gte"]}]}],"children":[{"from":"CVE-2026-69152","to":"CVE-2026-102277","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/juliangruber/brace-expansion/commit/33a5ef17b8d800bbfa8c52b14c39043b6aac1a96","https://github.com/juliangruber/brace-expansion/commit/bdff773f98e5988616b7039cc9b508df5d640b22","https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d","https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac"],"basis":"shared function","functions":["expandTop"]}]},{"from":"CVE-2026-69152","to":"CVE-2026-102278","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/juliangruber/brace-expansion/commit/1efee7c397c191da6287a78ec19512476a966a7b","https://github.com/juliangruber/brace-expansion/commit/935d78f32f335b2ff76578e5c5e877d31ae9888c","https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d","https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac"],"basis":"shared function","functions":["expandTop"]}]}],"packageHistory":[{"cve":"CVE-2026-45149","published":"2026-05-29","fixed":"5.0.6","kev":false},{"cve":"CVE-2026-13149","published":"2026-06-30","fixed":"5.0.7","kev":false},{"cve":"CVE-2026-14257","published":"2026-07-23","fixed":"5.0.8","kev":false},{"cve":"CVE-2026-69152","published":"2026-08-03","fixed":"5.0.9","kev":false},{"cve":"CVE-2026-102276","published":"2026-09-28","fixed":"5.0.10","kev":false,"link":{"from":"CVE-2026-69152","to":"CVE-2026-102276","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:brace-expansion","fromFixed":"5.0.9","toFixed":"5.0.10","daysApart":56},{"kind":"version-step","provenance":"source","package":"npm:brace-expansion","fromFixed":"1.1.18","toFixed":"1.1.19","daysApart":56},{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/juliangruber/brace-expansion/commit/0bcbfc0a5928c3073d48f42999d1ce4fc1c42fbc","https://github.com/juliangruber/brace-expansion/commit/316359e6019c39b3254c8ba8e25dc586a480652c","https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d","https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac"],"basis":"shared file"}]}},{"cve":"CVE-2026-102278","published":"2026-09-28","fixed":"5.0.11","kev":false},{"cve":"CVE-2026-102277","published":"2026-09-28","fixed":"5.0.12","kev":false}],"package":"npm:brace-expansion"}}