high7.5
CVE-2026-93687
braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards.
Impact
braces through 3.0.3 contains a stack overflow vulnerability in the recursive AST walkers that lack depth guards. Attackers can supply deeply nested brace patterns under the character limit to exhaust the call stack and terminate the Node.js process with an uncaught RangeError.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | braces | <= 3.0.3 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-vfj7-8cjw-p6xm
- https://nvd.nist.gov/vuln/detail/CVE-2026-93687
- https://github.com/micromatch/braces/issues/70
- https://github.com/micromatch/braces/blob/3.0.3/lib/compile.js#L49-L53
- https://github.com/micromatch/braces/blob/3.0.3/lib/expand.js#L102-L105
- https://github.com/micromatch/braces/blob/3.0.3/lib/parse.js#L38-L40
- https://www.vulncheck.com/advisories/braces-through-3.0.3-stack-overflow-via-deeply-nested-patterns
- https://github.com/micromatch/braces/issues/73#issuecomment-5996574974
- https://github.com/micromatch/braces