{"cve":"CVE-2026-73411","nvd":{"published":"2026-08-12T20:17:56.053","modified":"2026-10-24T15:10:00.190","status":"Deferred","description":"Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/unix/dash.js fails to escape ~ after : or = when applications use the escape or escapeAll APIs on Unix with shell set to dash, or with shell set to true when Dash is the default, and interpolate the result into an assignment prefixed to a command. An attacker who controls the input can supply a value such as :~ to disclose the home-directory path and may change the location on which the command operates. This issue is fixed in versions 2.1.14 and 3.0.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3},"cvss_v3":null,"cwes":["CWE-116","CWE-200"],"references":["https://github.com/ericcornelissen/shescape/commit/43d70b59d09bbe5c3fd02ef08b3a123e977ed9de","https://github.com/ericcornelissen/shescape/commit/b4b34c394e7f9da2775bb75381066b9a228c425f","https://github.com/ericcornelissen/shescape/pull/2649","https://github.com/ericcornelissen/shescape/pull/2651","https://github.com/ericcornelissen/shescape/releases/tag/v2.1.14"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:35.584907681+00:00"},"epss":{"cve":"CVE-2026-73411","score":0.0059,"percentile":0.47913,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-q53c-4prm-w95q","url":"https://osv.dev/vulnerability/GHSA-q53c-4prm-w95q","summary":"Shescape: Home-directory disclosure in assignment context on Unix with Dash","modified":"2026-08-12T19:59:13.666028Z","packages":[{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":["<2.1.14"],"fixed":["2.1.14"]},{"ecosystem":"npm","name":"shescape","purl":"pkg:npm/shescape","ranges":[">=3.0.0 <3.0.1"],"fixed":["3.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}