CVE-2026-73413: high-severity vulnerability in ericcornelissen shescape
Shescape: Quadratic-time denial of service in flag-protection
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.7epss 0.6%
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.
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 products
ericcornelissen · shescapeRelated CVEs — ericcornelissen shescape
In the same product, most dangerous first.
CVE-2022-31180CRITICALInsufficient escaping of whitespace in shescapeEPSS 2.0%CVE-2022-36064MEDIUMShescape Inefficient Regular Expression Complexity vulnerabilityEPSS 1.5%CVE-2022-31179HIGHInsufficient escaping of line feeds for CMD in shescapeEPSS 1.4%CVE-2026-73414CRITICALShescape: Shell injection via unescaped parentheses on Windows with CMDEPSS 0.9%CVE-2023-35931LOWShescape potential environment variable exposure on Windows with CMDEPSS 0.8%CVE-2023-40185MEDIUMShescape on Windows escaping may be bypassed in threaded contextEPSS 0.7%
References
https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9dehttps://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425fhttps://github.com/ericcornelissen/shescape/pull/2649https://github.com/ericcornelissen/shescape/pull/2651https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1https://github.com/ericcornelissen/shescape/security/advisories/GHSA-gm3r-q2wp-hw87