


Perceptive Security
SOC/SIEM Consultancy

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…
Published:
2 August 2026 at 22:00:00
Alert date:
3 August 2026 at 20:02:12
Source:
nvd.nist.gov
Supply Chain & Dependencies, Web Technologies
The brace-expansion npm library contains a vulnerability (CVE-2026-69152) in its expand() function that fails to apply maxLength limits when constructing comma-alternative intermediate arrays or padded sequences. This allows attacker-controlled input to exhaust memory or block the Node.js event loop, resulting in a Denial of Service condition. The vulnerability effectively bypasses the fix previously implemented for CVE-2026-14257. Affected versions span multiple major branches: below 1.1.18, 2.1.4, 3.0.6, and 5.0.9. Fixes have been released across all affected major versions (1.1.18, 2.1.4, 3.0.6, and 5.0.9). Multiple GitHub commits and a security advisory (GHSA-rgw5-rvv9-x895) document the remediation. Users of the brace-expansion library should upgrade to patched versions immediately to mitigate the risk.
Technical details
Mitigation steps:
Affected products:
brace-expansion < 1.1.18
brace-expansion < 2.1.4
brace-expansion < 3.0.6
brace-expansion < 5.0.9
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-69152
https://github.com/juliangruber/brace-expansion/commit/139d015104e71433ad52a41d19467c48ecbb2c7d
https://github.com/juliangruber/brace-expansion/commit/1e30c930238d7162802d88a94189182def178dac
https://github.com/juliangruber/brace-expansion/commit/688a99eeaab02627c2b89ba8ba4821fecfa659cf
https://github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777c14b2b4492fb431a56f6a031
https://github.com/juliangruber/brace-expansion/security/advisories/GHSA-rgw5-rvv9-x895
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
