CVE-2026-102277
Published:September 28, 2026
Updated:October 15, 2026
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.
Affected Packages
https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.0.9Fix Suggestion:
Update to version v3.0.9https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v1.0.0 <v1.1.21Fix Suggestion:
Update to version v1.1.21https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v5.0.2 <v5.0.12Fix Suggestion:
Update to version v5.0.12https://github.com/juliangruber/brace-expansion.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.1.7Fix Suggestion:
Update to version v2.1.7brace-expansion (NPM):
Affected version(s) >=1.0.0 <1.1.21Fix Suggestion:
Update to version 1.1.21brace-expansion (NPM):
Affected version(s) >=0.0.0 <1.1.21Fix Suggestion:
Update to version 1.1.21brace-expansion (NPM):
Affected version(s) >=2.0.0 <2.1.7Fix Suggestion:
Update to version 2.1.7brace-expansion (NPM):
Affected version(s) >=5.0.2 <5.0.12Fix Suggestion:
Update to version 5.0.12brace-expansion (NPM):
Affected version(s) >=4.0.0 <5.0.12Fix Suggestion:
Update to version 5.0.12brace-expansion (NPM):
Affected version(s) >=3.0.0 <3.0.9Fix Suggestion:
Update to version 3.0.9Related Resources (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.30