Vulnerabilities in pkg:npm/braces
PACKAGECVE-2026-93687 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-674: Uncontrolled Recursion) affecting Braces libraries in the npm ecosystem. The issue involves braces vulnerable to stack-exhaustion denial of service through deeply nested patterns. Remediation is available in the latest vendor maintenance releases.
pkg:npm/braces
Vulnerability advisories affecting package pkg:npm/braces. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-vfj7-8cjw-p6xm | CVE-2026-93687 | HIGH | braces vulnerable to stack-exhaustion denial of service through deeply nested patterns |
| GHSA-g95f-p29q-9xw4 | - | LOW | Duplicate Advisory: Regular Expression Denial of Service in braces |
| GHSA-cwfw-4gq5-mrqx | CVE-2018-1109 | LOW | Regular Expression Denial of Service (ReDoS) in braces |
| GHSA-grv7-fg5c-xmjg | CVE-2024-4068 | HIGH | Uncontrolled resource consumption in braces |
CVE-2026-93687 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-93687
To remediate this vulnerability, upgrade all affected Braces dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install braces@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls braces
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-93687, inspect your project dependencies using npm:
npm ls braces
Analyze the terminal output to locate any version of Braces in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls braces command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-674: Uncontrolled Recursion, where the product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack. In Braces, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-93687 Affected Braces Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
braces
|
npm |
≤ 3.0.3
|
|
References
Frequently Asked Questions
What is CVE-2026-93687?
Which Braces versions are affected?
What version fixes CVE-2026-93687?
Is braces affected?
What is the CVSS score of CVE-2026-93687?
What CWE is associated with CVE-2026-93687?
How can I check npm dependencies for CVE-2026-93687?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vfj7-8cjw-p6xm",
"modified" : "2026-10-02T22:36:33Z",
"published" : "2026-09-18T18:31:41Z",
"aliases" : [ "CVE-2026-93687" ],
"summary" : "braces vulnerable to stack-exhaustion denial of service through deeply nested patterns",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "braces"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.0.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-93687"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/braces/issues/70"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/micromatch/braces"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/braces/blob/3.0.3/lib/compile.js#L49-L53"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/braces/blob/3.0.3/lib/expand.js#L102-L105"
}, {
"type" : "WEB",
"url" : "https://github.com/micromatch/braces/blob/3.0.3/lib/parse.js#L38-L40"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/braces-through-3.0.3-stack-overflow-via-deeply-nested-patterns"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-674" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-02T22:36:33Z",
"nvd_published_at" : "2026-09-18T16:17:15Z"
}
}