This advisory has been withdrawn by its source. The report below is preserved for the record.
High · 7.5 Node.js & npm GHSA-vfj7-8cjw-p6xm CVE-2026-93687
Stack Overflow Denial-of-Service Flaw in braces (through version 3.0.3)
A denial-of-service vulnerability (CVE-2026-93687) affects the npm package braces through version 3.0.3. Deeply nested brace patterns can crash the Node.js process; no fixed version is currently listed.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in braces, a widely used npm package for expanding brace patterns, which is also used as a dependency by other tools such as micromatch. Tracked as CVE-2026-93687, the issue allows an attacker to crash a Node.js process by supplying specially crafted input. This briefing explains what the vulnerability is, who it affects, and what site owners and developers should do while no fix is available.
What happened
A vulnerability was identified in braces, an npm package used to expand brace patterns, through version 3.0.3. The issue lies in the recursive AST (abstract syntax tree) walkers used internally by the package, which lack guards against excessive recursion depth. An attacker can submit a deeply nested brace pattern that stays under the package's character limit but still causes excessive recursion, exhausting the call stack. This results in an uncaught RangeError that terminates the Node.js process.
Technical cause
The root cause is classified as CWE-674, Uncontrolled Recursion. The recursive functions that walk the brace-pattern AST do not enforce a maximum recursion depth. When processing a pattern with many nested levels of braces, the recursion depth can grow large enough to exhaust the available call stack, even though the overall character count of the pattern remains within the package's accepted limits. This causes Node.js to raise an unhandled RangeError and crash the process.
Why it matters
braces is a dependency used by other widely used tooling, including micromatch, which means the impact can extend beyond applications that use braces directly. Because the vulnerability can be triggered remotely without authentication and without any user interaction, an attacker only needs to be able to supply input that is passed to the vulnerable parsing logic. A successful trigger results in a crash of the Node.js process, which translates into a denial-of-service condition for the affected application or service.
Affected versions
All versions of braces from version 0 up to and including version 3.0.3 are affected. No information in the fact package indicates a version beyond 3.0.3 that resolves the issue.
Fixes and mitigation
No fixed version of braces is currently listed as available. Until a fix is published, applications that rely on braces (directly or through dependencies such as micromatch) should avoid passing untrusted, deeply nested brace patterns into functions that use this parsing logic. Organizations should monitor the advisory for updates and apply a fixed version as soon as one is released.
Recommended action
Site owners and developers using braces, or packages that depend on it such as micromatch, should review where user-supplied or otherwise untrusted input reaches brace-pattern parsing. Where possible, limit nesting depth or reject suspicious patterns before they are processed. Track this advisory for a fixed release and update promptly once one becomes available, since no patched version currently exists.
PatchBriefing score
7.5 / 10 · High
Official CVSS: 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS 0.0078 (52 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- braces <= 3.0.3
- vulnerable
- braces ≥ 0 ≤ 3.0.3
- vulnerable
Reported fixes
No fixed version of braces is currently listed as available. Until a fix is published, applications that rely on braces (directly or through dependencies such as micromatch) should avoid passing untrusted, deeply nested brace patterns into functions that use this parsing logic. Organizations should monitor the advisory for updates and apply a fixed version as soon as one is released.
How this was built
5 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
NVD (NIST) database
-
Microsoft Security Update Guide vendor
-
OSV.dev database
-
CVE.org database
Revision history
- Generated
- Generated
- Generated
- Generated
- Published
- Generated