npmWorst: Critical14 advisories

shescape: known vulnerabilities

shescape has 14 reviewed security advisories in the GitHub Advisory Database — 2 critical, 5 high, 4 moderate, 3 low. The most recent was published 2026-07-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the shescape versions running across your servers, containers and images, and ranks what to patch first.

How to fix shescape

Upgrade shescape to a release at or above the fixed version shown for each advisory below. For npm:

npm install shescape@3.0.1 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (14)

Shescape: Path disclosure on Unix with Zsh Moderate CWE-155 CWE-78 — Affected: from 3.0.0 up to 3.0.1. Fixed in 3.0.1. Published 2026-07-24. GHSA-6v4m-fw66-8r4x · CVE-2026-73412
Shescape: Quadratic-time denial of service in the flag-protection High CWE-400 CWE-407 — Affected: from 3.0.0 up to 3.0.1. Fixed in 3.0.1. Published 2026-07-24. GHSA-gm3r-q2wp-hw87 · CVE-2026-73413
Shescape: Home-directory disclosure in assignment context on Unix with Dash Moderate CWE-116 CWE-200 — Affected: from 3.0.0 up to 3.0.1. Fixed in 3.0.1. Published 2026-07-24. GHSA-q53c-4prm-w95q · CVE-2026-73411
Shescape: Shell injection via unescaped parentheses on Windows with CMD Critical CWE-150 CWE-78 — Affected: from 3.0.0 up to 3.0.1. Fixed in 3.0.1. Published 2026-07-24. GHSA-w4hw-qcx7-56pr · CVE-2026-73414
Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash Moderate CWE-200 — Affected: before 2.1.10. Fixed in 2.1.10. Published 2026-03-11. GHSA-9jfh-9xrq-4vwm · CVE-2026-32094
Withdrawn Advisory: Shescape has possible misidentification of shell due to link chains Low CWE-200 — Affected: before 2.1.9. Fixed in 2.1.9. Published 2026-03-10. GHSA-6f6w-6j58-rq76 · CVE-2026-30916
Shescape has potential environment variable exposure on Windows with CMD Low CWE-200 — Affected: from 1.7.2 up to 2.1.2. Fixed in 2.1.2. Published 2025-03-25. GHSA-66pp-5p9w-q87j · CVE-2025-30222
Shescape on Windows escaping may be bypassed in threaded context High 8.6 CWE-150 — Affected: before 1.7.4. Fixed in 1.7.4. Published 2023-08-23. GHSA-j55r-787p-m549 · CVE-2023-40185
Shescape potential environment variable exposure on Windows with CMD Low 3.1 CWE-526 — Affected: before 1.7.1. Fixed in 1.7.1. Published 2023-06-23. GHSA-3g7p-8qhx-mc8r · CVE-2023-35931
Inefficient Regular Expression Complexity in shescape High 7.5 CWE-1333 — Affected: from 1.5.10 up to 1.6.1. Fixed in 1.6.1. Published 2022-10-27. GHSA-cr84-xvw4-qx3c · CVE-2022-25918
Shescape vulnerable to insufficient escaping of whitespace Critical 9.8 CWE-74 — Affected: from 1.4.0 up to 1.5.8. Fixed in 1.5.8. Published 2022-08-01. GHSA-44vr-rwwj-p88h · CVE-2022-31180
Shescape prior to 1.5.8 vulnerable to insufficient escaping of line feeds for CMD High 8.1 CWE-74 — Affected: before 1.5.8. Fixed in 1.5.8. Published 2022-08-01. GHSA-jjc5-fp7p-6f8w · CVE-2022-31179
Exposure of home directory through shescape on Unix with Bash Moderate 5.5 CWE-200 CWE-78 — Affected: from 1.4.0 up to 1.5.1. Fixed in 1.5.1. Published 2022-03-03. GHSA-446w-rrm4-r47f · CVE-2022-24725

Find shescape across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.