CVE-2026-73412
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, 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.
Affected Packages
https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) >=v0.1.0 <v2.1.14Fix Suggestion:
Update to version v2.1.14https://github.com/ericcornelissen/shescape.git (GITHUB):
Affected version(s) =v3.0.0 <v3.0.1Fix Suggestion:
Update to version v3.0.1shescape (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
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.35