Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2026-73055

Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via BusyBox

Description

Shescape before 2.1.15 (and 3.0.0 before 3.0.2) fails to properly escape tilde (~) characters in assignment contexts on Unix systems where the shell is explicitly configured to "sh" or true and /bin/sh points to BusyBox. Using the escape and escapeAll APIs with untrusted input in an assignment prefixed to a command, an attacker can inject a tilde payload to disclose the user's home directory location and, depending on usage, alter the location on which a command operates.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

ericcornelissen shescape

Default version status: unaffected

  • 0 to < 2.1.15affected
  • 3.0.0 to < 3.0.2affected
pkg:npm/shescape

References