CVE-2026-73412
MEDIUM 6.3CVSS 4.0Shescape: Path disclosure on Unix with Zsh
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.
- Published
- 12 Aug 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-155CWE-78
- Also known as
- GHSA-6v4m-fw66-8r4x
- Sources
- NVDJSONOSV GHSA-6v4m-fw66-8r4xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 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 |
| OSV | GitHub | CVSS 4.0 | 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | shescape | < 2.1.14 | 2.1.14 |
| OSV | npm | shescape | >= 3.0.0, < 3.0.1 | 3.0.1 |
References
- https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de · WEB
- https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f · WEB
- https://github.com/ericcornelissen/shescape/pull/2649 · WEB
- https://github.com/ericcornelissen/shescape/pull/2651 · WEB
- https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14 · WEB
- https://github.com/ericcornelissen/shescape/releases/tag/v3.0.1 · WEB
- https://github.com/ericcornelissen/shescape/security/advisories/GHSA-6v4m-fw66-8r4x · WEB
- https://github.com/ericcornelissen/shescape · PACKAGE
- https://github.com/ericcornelissen/shescape/blob/dea8893a5877893d8d4923dbf253080e08899e6d/docs/migration.md · WEB
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 12 Aug 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Jul 2026)