Description
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.
Affected products
juliangruber: brace-expansion
References6
- github.com/juliangruber/brace-expansion/security/advisories/GHS… ExploitMitigationVendor Advisory
- github.com/juliangruber/brace-expansion/security/advisories/GHS… ExploitMitigationVendor Advisory
- github.com/juliangruber/brace-expansion/commit/139d015104e71433… Patch
- github.com/juliangruber/brace-expansion/commit/1e30c930238d7162… Patch
- github.com/juliangruber/brace-expansion/commit/688a99eeaab02627… Patch
- github.com/juliangruber/brace-expansion/commit/cb4b9e47cc2ec777… Patch
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 52 · as of 13 November 2026
- CWE
- CWE-400CWE-770
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.