CVE-2026-73412: medium-severity vulnerability in ericcornelissen shescape
Shescape: Path disclosure on Unix with Zsh
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.3epss 0.6%
Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, this impacts users of Shescape on Unix systems that explicitly configure shell to Zsh, or true when the default shell is Zsh, using the escape and escapeAll. The Zsh options EXTENDED_GLOB and MAGIC_EQUAL_SUBST exacerbate the problem. In certain case, an attacker can leverage home directory expansion and extended glob syntax to obtain lists of files and directories on the system. Depending on what the command does, this may be used to leak more information. This issue is fixed in versions 2.1.14 and 3.0.1.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/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-6v4m-fw66-8r4x