CVE-2026-73411 json
Shescape: Home-directory disclosure in assignment context on Unix with Dash
published 3mo ago modified 18d ago also EUVD-2026-57518 , GHSA-q53c-4prm-w95q
- 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 48%
- public exploits
- 0
- none known
Summary
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.
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
Is CVE-2026-73411 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-11).
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:L/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:L/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-q53c-4prm-w95q
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-73411
- GitHub Advisory GHSA-q53c-4prm-w95q
- NVD CVE-2026-73411
Fencer Intel 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.