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.3%, top 74% of all CVEs by exploit prediction. 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
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.7
- EG Score
- 8.7(medium)
- EG Risk
- 54(Track)EG Risk 54/100SSVC: Track
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%Exploitation0% × 40%Automatability100% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 26%
- KEV
- Not listed
Published
August 12, 2026
Last Modified
August 13, 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 | Fixed in | Dependents |
|---|---|---|---|
| shescape | — | 2.1.14 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 30× 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.
- 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
Show 5 moreShow fewer
- 2026-08-13 15:26 UTCEG score recompute
- 2026-08-13 15:15 UTCEG score recompute
- 2026-08-12 20:19 UTCEG score recompute
- 2026-08-12 19:46 UTCEG score recompute
- 2026-08-12 19:45 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-400
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.