CVE-2026-102276Juliangruber Brace-expansion uncontrolled resource consumption
CVSS score
7.5
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.49%
0.49% chance of exploitation in the next 30 days, higher than 43.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.19, 2.1.5, 3.0.7, and 5.0.10, crafted brace patterns can exhaust the native stack in parseCommaParts because parseCommaParts recursively processes the remainder once per brace group and uses push.apply to pass every element of a very large comma-part array as a function argument. Patterns containing many comma-separated brace groups trigger the recursive path, while the large array triggers the argument-array path without deep recursion. These paths cause recursive and argument-array native stack exhaustion before max or maxLength can limit output, potentially terminating the Node.js process in a process-terminating denial of service. This issue is fixed in versions 1.1.19, 2.1.5, 3.0.7, and 5.0.10.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running juliangruber Brace-expansion and compare its version with the affected versions.
Update to a fixed version
- Update Brace-expansion to 1.1.19, 2.1.5, 3.0.7, 5.0.10 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Affected products | Versions |
|---|---|
| juliangruber Brace-expansion | >= 4.0.0, < 5.0.10 · >= 3.0.0, < 3.0.7 · >= 2.0.0, < 2.1.5 · < 1.1.19 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-102276 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-102276?
CVE-2026-102276 has a CVSS 3.1 base score of 7.5 (high).
Which versions are affected?
Juliangruber Brace-expansion (>= 4.0.0, < 5.0.10; >= 3.0.0, < 3.0.7; >= 2.0.0, < 2.1.5; < 1.1.19)
Is there a patch for CVE-2026-102276?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/juliangruber/brace-expansion/commit/0bcbfc0a5928c3073d48f42999d1ce4fc1c42fbc
- github.com/juliangruber/brace-expansion/commit/316359e6019c39b3254c8ba8e25dc586a480652c
- github.com/juliangruber/brace-expansion/commit/5171e681c0922b7ae8bfaf9a331e309107be6edc
- github.com/juliangruber/brace-expansion/commit/6735c94873ca570bcdd6a0690033bdd3126379d3
- github.com/juliangruber/brace-expansion/security/advisories/GHSA-6j4f-fj2g-mc7p
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.