# CVE-2026-93687: braces through 3.0.3 Stack Overflow via Deeply Nested Patterns

> Attackers can cause a Node.js process crash by supplying deeply nested brace patterns, leading to a stack overflow and denial of service.

- **Severity:** High 8.7 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 18 Sep 2026
- **Updated:** 14 Oct 2026
- **Also known as:** AZL-103445, AZL-103481, CLEANSTART-2026-XE55341, CLSA-2026-1792230881, CLSA-2026-1792230979, CLSA-2026-1792231086, CLSA-2026-1792231181, CLSA-2026-1792231291, CLSA-2026-1792231377, DEBIAN-CVE-2026-93687, MGASA-2026-0518, MINI-285h-952p-6cxf, MINI-5rwm-w7cm-69vj, MINI-7v3c-hqw4-8fph, MINI-837h-gpc4-f393, MINI-8q63-ffj6-qr8v, MINI-9cg8-pfvp-jwc2, MINI-fwgv-625m-xqf9, MINI-j55x-8ccg-jp48, MINI-mqrr-23pw-wh9j, MINI-phgc-65q7-g836, MINI-pxhx-vp7j-vg3g, MINI-q2v5-8v5x-g9mf, MINI-q467-9cr8-wr3c, MINI-qg2c-pw4w-cq8c, MINI-qwxv-65c6-9m3p, ROOT-APP-NPM-CVE-2026-93687, UBUNTU-CVE-2026-93687

## What is CVE-2026-93687?

CVE-2026-93687 is a high-severity denial of service vulnerability in micromatch braces, published on 18 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-674 (Uncontrolled Recursion)

## Which versions are affected by CVE-2026-93687?


## How do I fix CVE-2026-93687?

Upgrade to a fixed version.

## Is CVE-2026-93687 being exploited?

There is no known exploitation of CVE-2026-93687 in the wild and no public exploit code.

Public exploit code:

- Temporary fork of braces with a minimal security patch for CVE-2026-93687, created only to validate dependency override behavior and Fortify/FoD detection before moving the fix to an official Bentobox-owned source. (github_poc): https://github.com/scastillo-jp/braces-fork
- MIT-licensed braces 3.0.3 with reviewed CVE-2026-93687 depth backport; pinned consumption only (github_poc): https://github.com/BernydotJar/braces-security-backport
- Independent, measured check of CVE-2026-93687 (braces stack exhaustion): reproducible cold-process crash under the default 10000 maxLength, and what actually mitigates it. (github_poc): https://github.com/canmenzo/cve-2026-93687-braces

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-93687 and fix it if it is affected.

What it is: CVE-2026-93687 is a high-severity denial of service vulnerability in micromatch braces, published on 18 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-93687 in the wild and no public exploit code.

Affected product: micromatch braces. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-93687/ (Markdown: https://insights.sbomify.com/CVE-2026-93687/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-93687
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-93687
- OSV: https://osv.dev/vulnerability/CVE-2026-93687

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-93687/
Summaries are generated and may contain mistakes; the official description above is the record.
