Skip to content
Heist/ feed
Back to feed
Medium

Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via BusyBox

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-73055
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:36 UTC · Revision 1

Source evidence

Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via BusyBox

core-osv · Original source

Published 15 Aug 2026, 21:44 UTC

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.

osv:CVE-2026-73055
Complete source record
{
  "id": "b3a79ea0c9a77b019b86b0e8ff1c3a5352d32165f82daa006c75589458cc458f",
  "url": "https://osv.dev/vulnerability/CVE-2026-73055",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Shescape before 2.1.15 and 3.0.2 Home Directory Disclosure via 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 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.",
    "evidence": "osv:CVE-2026-73055",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-73055",
      "aliases": [
        "CVE-2026-73055",
        "GHSA-j44h-fqhh-fh28"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ericcornelissen/shescape",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "107771e62c86af15fdb2638189ed329ed26c24d3"
                },
                {
                  "introduced": "68b9e590b7527fd9dbde91c450055059423942f6"
                },
                {
                  "fixed": "21b71c30df49ec2fa2ff7331526bbaeb46af8b0f"
                },
                {
                  "fixed": "d86bf2ae22961c73458bddf70dd06adf9dadb36c"
                },
                {
                  "fixed": "7cba30594c16a21524706efe2f6c6c9d8923f411"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.1.15"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.0.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d86bf2ae22961c73458bddf70dd06adf9dadb36c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7cba30594c16a21524706efe2f6c6c9d8923f411"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.1.14",
            "v3.0.1",
            "v2.1.13",
            "v3.0.0",
            "v2.1.12",
            "v2.1.11",
            "v2.1.10",
            "v2.1.9",
            "v2.1.8",
            "v2.1.7",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.10",
            "v1.5.9",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.5.0",
            "v1.4.0",
            "v1.3.3",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.4.1",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73055.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.706855254Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73055.json",
        "https://github.com/ericcornelissen/shescape/security/advisories/GHSA-j44h-fqhh-fh28",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-73055",
        "https://www.vulncheck.com/advisories/shescape-before-home-directory-disclosure-via-busybox",
        "https://github.com/ericcornelissen/shescape/commit/7cba30594c16a21524706efe2f6c6c9d8923f411",
        "https://github.com/ericcornelissen/shescape/commit/d86bf2ae22961c73458bddf70dd06adf9dadb36c",
        "https://github.com/ericcornelissen/shescape"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-116",
          "CWE-200"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73055.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-73055",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517029,
  "published_at": "2026-08-15T21:44:54.677+00:00"
}