Shescape is a simple shell escape library for JavaScript. From 2.1.11 until 2.1.14 and 3.0.1, the flag-protection loop in compose in src/internal/compose.js repeatedly joins and slices flag fragments when flagProtection is enabled, which is the default, making processing quadratic in input size across the escape, escapeAll, quote, and quoteAll APIs. An attacker who can supply a large untrusted input containing many flag fragments can consume CPU and cause denial of service. This issue is fixed in versions 2.1.14 and 3.0.1.
CVE-2026-73413
This high-severity CVE scores 8.7 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.6% (46th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.7
- EG Score
- 8.7HIGHmedium confidence
- EG Risk
- 54EG Risk 54/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity87% × 45%Exploitation1% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 0.6%
- EPSS %ILE
- 46th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 12, 2026
Last Modified
September 9, 2026
Advisory Details (7)
Auto-updated Aug 12, 2026Release v3.0.1
Patch available: ericcornelissen/shescape v3.0.1
https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1Release v2.1.14
Patch available: ericcornelissen/shescape v2.1.14
https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14commit b4b34c394e7f (ericcornelissen/shescape)
Patch available: ericcornelissen/shescape v2.1.14 (contains commit b4b34c394e7f)
https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425fcommit 43d70b59d09b (ericcornelissen/shescape)
Patch available: ericcornelissen/shescape v3.0.1 (contains commit 43d70b59d09b)
https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9deImprove overall escaping (v2)
Patch available: ericcornelissen/shescape v2.1.14 (PR #2651 merged 2026-07-22)
https://github.com/ericcornelissen/shescape/pull/2651Improve overall escaping
Patch available: ericcornelissen/shescape v3.0.1 (PR #2649 merged 2026-07-22)
https://github.com/ericcornelissen/shescape/pull/2649Quadratic-time denial of service in Shescape flag-protection · Advisory · ericcornelissen/shescape · GitHub
https://github.com/ericcornelissen/shescape/security/advisories/GHSA-gm3r-q2wp-hw87Vendor Advisories for CVE-2026-73413(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| shescape | — |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 47× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 104 total refreshes for this CVE.
- 2026-10-09 20:07 UTCEPSS rescore
- 2026-10-08 17:13 UTCEPSS rescore
- 2026-10-07 23:48 UTCEPSS rescore
- 2026-10-07 01:22 UTCEG score recompute
- 2026-10-06 15:18 UTCEPSS rescore
- 2026-10-06 14:12 UTCEG score recompute
- 2026-10-05 17:43 UTCEPSS rescore
- 2026-10-05 14:44 UTCEG score recompute
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-03 19:56 UTCEG score recompute
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 19:23 UTCEG score recompute
- 2026-10-02 08:18 UTCEG score recompute
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-09-30 21:53 UTCEG score recompute
- 2026-09-29 15:24 UTCEPSS rescore
- 2026-09-29 04:29 UTCEG score recompute
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 01:17 UTCEG score recompute
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 09:52 UTCEG score recompute
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-25 03:39 UTCEG score recompute
- 2026-09-23 20:53 UTCEG score recompute
- 2026-09-23 17:54 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-22 21:05 UTCEG score recompute
- 2026-09-22 08:14 UTCEG score recompute
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-20 21:24 UTCEG score recompute
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-19 23:11 UTCEG score recompute
- 2026-09-18 22:47 UTCEG score recompute
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 00:31 UTCEG score recompute
- 2026-09-17 00:17 UTCEG score recompute
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 12:16 UTCEG score recompute
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 13:10 UTCEG score recompute
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 01:24 UTCEG score recompute
- 2026-09-12 16:08 UTCEG score recompute
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-11 17:57 UTCEG score recompute
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-10 19:46 UTCEG score recompute
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-09 05:12 UTCEG score recompute
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 16:41 UTCEG score recompute
- 2026-09-06 22:13 UTCEG score recompute
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 00:01 UTCEG score recompute
- 2026-09-05 00:40 UTCEG score recompute
- 2026-09-04 12:31 UTCEG score recompute
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 23:26 UTCEG score recompute
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 22:43 UTCEG score recompute
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 11:38 UTCEG score recompute
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 05:51 UTCEG score recompute
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 07:40 UTCEG score recompute
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 08:32 UTCEG score recompute
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 23:41 UTCEG score recompute
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 01:27 UTCEG score recompute
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-25 16:04 UTCEG score recompute
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-24 17:52 UTCEG score recompute
- 2026-08-23 08:37 UTCEG score recompute
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 10:27 UTCEG score recompute
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 01:10 UTCEG score recompute
- 2026-08-20 22:56 UTCEPSS rescore
- 2026-08-20 02:43 UTCEG score recompute
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 17:24 UTCEG score recompute
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-18 13:49 UTCEPSS rescore
- 2026-08-17 19:13 UTCEG score recompute
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 21:02 UTCEG score recompute
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 09:57 UTCEG score recompute
- 2026-08-16 02:15 UTCEPSS rescore
- 2026-08-15 11:47 UTCEG score recompute
- 2026-08-15 01:31 UTCEPSS rescore
- 2026-08-14 02:31 UTCEG score recompute
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 15:26 UTCEG score recompute
Related CVEs(same product + same CWE)
Same product
10 shownnpm:shescape
Frequently asked(5)
What is CVE-2026-73413?
When was CVE-2026-73413 disclosed?
Is CVE-2026-73413 actively exploited?
What is the CVSS score of CVE-2026-73413?
How do I remediate CVE-2026-73413?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-73413
Is Your Infrastructure Affected by CVE-2026-73413?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.