Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. braces
  4. ›
  5. CVE-2026-93687

CVE-2026-93687: braces vulnerable to stack-exhaustion denial of service through deeply nested patterns

September 18, 2026 (updated October 2, 2026)

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.

References

  • github.com/advisories/GHSA-vfj7-8cjw-p6xm
  • github.com/micromatch/braces/blob/3.0.3/lib/compile.js
  • github.com/micromatch/braces/blob/3.0.3/lib/expand.js
  • github.com/micromatch/braces/blob/3.0.3/lib/parse.js
  • github.com/micromatch/braces/issues/70
  • nvd.nist.gov/vuln/detail/CVE-2026-93687
  • www.vulncheck.com/advisories/braces-through-3.0.3-stack-overflow-via-deeply-nested-patterns

Code Behaviors & Features

Detect and mitigate CVE-2026-93687 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.0.3

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

npm/braces/CVE-2026-93687.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 17 Oct 2026 00:21:37 +0000.