---
id: CVE-2026-73055
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-116
published: '2026-08-15'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-73055'
references:
  - url: >-
      https://github.com/ericcornelissen/shescape/commit/7cba30594c16a21524706efe2f6c6c9d8923f411
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ericcornelissen/shescape/commit/d86bf2ae22961c73458bddf70dd06adf9dadb36c
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j44h-fqhh-fh28
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/shescape-before-home-directory-disclosure-via-busybox
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-08-16T13:39:04.597Z'
epss: 0.00207
epssPercentile: 0.11109
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
