brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion — GHSA-QHR7-859C-M2P7
GitHub · GitHub · GHSA-QHR7-859C-M2P7
ID
GHSA-QHR7-859C-M2P7
GHSA-QHR7-859C-M2P7
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.5
7.5
EPSS
0.0035
0.0035
Summary
### Summary `expand_()` recurses once per level of brace *nesting*. Deeply nested input exhausts the native stack and crashes the process. This is distinct from CVE-2026-14257 / GHSA-mh99-v99m-4gvg, which made the *tail* iterative (recursion on `m.post`, driven by how many groups are chained). Nesting depth drives a different recursion that the tail fix never touched, so the documented constant-stack-depth…
Timeline
- Published by source
- 2026-09-29
Risk context
- Reported severity or threat level: high.
- Reported CVSS score: 7.5 out of 10.
- Reported EPSS value: 0.0035.
- Review exposure for the affected product or family: npm: brace-expansion.
Product
npm: brace-expansion
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-QHR7-859C-M2P7
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-29
- Last source activity
- 2026-09-29
- Additional identifiers
- CVE-2026-102278
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.