CVE-2026-73411
Published:August 12, 2026
Updated:August 31, 2026
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.
Affected Packages
https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) =v3.0.0 <v3.0.1Fix Suggestion:
Update to version v3.0.1https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) >=v0.1.0 <v2.1.14Fix Suggestion:
Update to version v2.1.14shescape (NPM):
Affected version(s) >=0.1.0 <2.1.14Fix Suggestion:
Update to version 2.1.14shescape (NPM):
Affected version(s) =3.0.0 <3.0.1Fix Suggestion:
Update to version 3.0.1Related Resources (11)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.34