# CVE-2026-73412: Shescape: Path disclosure on Unix with Zsh

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-07-24T22:33:38.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-6v4m-fw66-8r4x
- Weaknesses: CWE-78, CWE-155
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- ericcornelissen shescape: < 2.1.14; >= 3.0.0, < 3.0.1
- shescape (npm): before 2.1.14; from 3.0.0 before 3.0.1

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/ericcornelissen/shescape/security/advisories/GHSA-6v4m-fw66-8r4x> (web)
- <https://github.com/ericcornelissen/shescape/pull/2649> (web)
- <https://github.com/ericcornelissen/shescape/pull/2651> (web)
- <https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de> (web)
- <https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f> (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> (package)
- <https://github.com/ericcornelissen/shescape/blob/dea8893a5877893d8d4923dbf253080e08899e6d/docs/migration.md> (web)

## Sources

- CVE List: [CVE-2026-73412](https://www.cve.org/CVERecord?id=CVE-2026-73412), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-6v4m-fw66-8r4x](https://github.com/advisories/GHSA-6v4m-fw66-8r4x), CC-BY-4.0, modified 2026-08-27
- NVD: [CVE-2026-73412](https://nvd.nist.gov/vuln/detail/CVE-2026-73412), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73412 · Whole record: https://cve.day/CVE-2026-73412.json · Rebuilt by cve.day 2026-11-25T22:59:32.647Z
