npm package
braces 2.0.0 vulnerabilities, and what to upgrade to
braces 2.0.0 has 2 known vulnerabilities (2 rated high or critical); 3.0.3 fixes 1 of them, and 1 has no fixed version yet. 3.0.3 has 1 known vulnerability of its own, and so does every newer release we checked.
npm (opens in a new tab) describes it as “Bash-like brace expansion, implemented in JavaScript. Safer than other brace expansion libs, with complete support for the Bash 4.3 braces specification, without sacrificing speed.”
- Known vulnerabilities
- 2
- 2 rated high or critical
- Released
- Oct 20, 2016
- Latest is 3.0.3
- Downloads last week
- 58
- Under 1% of braces downloads
- Licence
- MIT
- Pulls in
- 82 packages
- Resolved by deps.dev
What to upgrade to
Every newer release we checked still has known vulnerabilities. The fewer, the better.
Newest 2.x release. Released Apr 8, 2018.
2 known vulnerabilities, worst rated warningFixes 1 of the 2 known vulnerabilities and the latest release. Released May 21, 2024.
1 known vulnerability, worst rated warning
Hand the fix to your coding agent
One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.
Findings
- CriticalVulnerability
2 known vulnerabilities in braces 2.0.0
EPSS: top 27%2 rated high or critical. Most serious: CVE-2024-4068, Uncontrolled resource consumption in braces. Upgrading to 3.0.3 fixes 1 of them; 1 has no fixed version listed.
- LowOutdated
braces 2.0.0 is 1 major version behind
Latest release is 3.0.3.
- LowOpenSSF Scorecard
jonschlinkert/braces scores 3.8/10 on OpenSSF Scorecard
Weakest checks: Not actively maintained (Maintained 0/10); No branch protection (Branch-Protection 0/10); Over-privileged CI tokens (Token-Permissions 0/10). A low score means weaker upstream security practices, not a known vulnerability.
Every advisory for braces 2.0.0
Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.
CriticalCVE-2024-4068 on OSV.dev (opens in a new tab)GHSA-grv7-fg5c-xmjgEPSS: top 27%
Uncontrolled resource consumption in braces
Fixed in 3.0.3. Published May 14, 2024.
CriticalCVE-2026-93687 on OSV.dev (opens in a new tab)GHSA-vfj7-8cjw-p6xmEPSS: top 46%
braces vulnerable to stack-exhaustion denial of service through deeply nested patterns
No fixed version listed yet. Published Sep 18, 2026.
Who is still on a vulnerable braces
100% of last week’s 169.1M braces downloads went to versions with known vulnerabilities.
From npm’s per-version download counts for the last 7 days, each version checked against OSV.dev. The versions checked cover over 99% of downloads.
Is braces the only one?
Paste a public GitHub repo or drop your package.json and see every vulnerable, end-of-life or deprecated dependency, with one fix task. Free, no sign-up.
How this page is checked
StackPrism asks OSV.dev which advisories affect exactly braces 2.0.0, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and npm. No AI writes this page: every sentence comes from that data, refreshed every few hours.
Last checked against npm, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.