Back to list

brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion — GHSA-6J4F-FJ2G-MC7P

GitHub · GitHub · GHSA-6J4F-FJ2G-MC7P

ID
GHSA-6J4F-FJ2G-MC7P
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5
EPSS
0.0035

Summary

### Summary `parseCommaParts()` can exhaust the native stack and crash the process. There are two distinct ways to trigger it, both reachable from a single untrusted pattern string. This is the parsing-side counterpart to CVE-2026-14257 / GHSA-mh99-v99m-4gvg. That fix made `expand_()` iterative and documented a constant-stack-depth guarantee, but `parseCommaParts()` was left recursive, so the guarantee only held…

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-6J4F-FJ2G-MC7P
Source
GitHub
Vendor
GitHub
Published by source
2026-09-29
Last source activity
2026-09-29
Additional identifiers
CVE-2026-102276
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.