CVE-2026-73412 json
Shescape: Path disclosure on Unix with Zsh
published 2026-07-24 3 mo ago modified 2026-10-24 16 d ago also EUVD-2026-57525 , GHSA-6v4m-fw66-8r4x
- cvss
- 6.3
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm shescape 2.1.14, 3.0.1
- shescape_project shescape 2.1.14, 3.0.1
- github.com/ericcornelissen/shescape@43d70b5 commit
- github.com/ericcornelissen/shescape@b4b34c3 commit
- github.com/ericcornelissen/shescape#2649 pull request
- github.com/ericcornelissen/shescape#2651 pull request
- github.com/ericcornelissen/shescape/releases/tag/v2.1.14 release
- github.com/ericcornelissen/shescape/releases/tag/v3.0.1 release
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.3 | 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 |
| CNA | 4.0 | 6.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | shescape | <2.1.14 >=3.0.0, <3.0.1 |
2.1.14 3.0.1 |
Affected products
- ericcornelissen shescape
Classification
References
-
github.com
/ericcornelissen/shescape/pull/2649
web
-
github.com
/ericcornelissen/shescape/pull/2651
web
-
github.com
/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de
web
-
github.com
/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f
web
-
github.com
/ericcornelissen/shescape/security/advisories/GHSA-6v4m-fw66-8r4x
web
-
github.com
/ericcornelissen/shescape/releases/tag/v2.1.14
web
-
github.com
/ericcornelissen/shescape/releases/tag/v3.0.1
web
-
github.com
/ericcornelissen/shescape
package
-
github.com
/ericcornelissen/shescape/blob/dea8893a5877893d8d4923dbf253080e08899e6d/docs/migration.md
web
Sources
- CVE List CVE-2026-73412
- GitHub Advisory GHSA-6v4m-fw66-8r4x
- NVD CVE-2026-73412
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.