Shell Escape Vulnerability in Shescape Library for JavaScript
CVE-2026-73412

6.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
12 August 2026

What is CVE-2026-73412?

The Shescape library for JavaScript suffers from a vulnerability that affects users on Unix systems where the default shell is set to Zsh. This issue arises when using the escape and escapeAll functions in versions prior to 2.1.14 and 3.0.1, especially when the Zsh options EXTENDED_GLOB and MAGIC_EQUAL_SUBST are enabled. An attacker can exploit these vulnerabilities through home directory expansion and extended glob syntax, potentially revealing sensitive filenames and directory structures, which could be leveraged to gain further access to system information.

Affected Version(s)

shescape < 2.1.14 < 2.1.14

shescape >= 3.0.0, < 3.0.1 < 3.0.0, 3.0.1

References

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.