ADVISORIES

Vulnerability

CVE-2026-50558

Penelope Shell Handler is a post-exploitation shell handler for authorized security testing. Prior to 0.20.0, the Unix download() implementation in penelope.py used tar.extractall(local_download_folder) on tar archives returned by remote sessions without validating member paths, allowing a malicious or compromised session to write files outside the intended download directory and potentially overwrite ~/.penelope/peneloperc. This issue is fixed in version 0.20.0.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories

  • GHSA-f42x-p2mx-hm8r

    Penelope unsafe tar extraction allows arbitrary local file write via crafted session archive

    Moderate CVE-2026-50558 PyPI Updated 4 August 2026
  • PYSEC-2026-3606

    Penelope unsafe tar extraction allows arbitrary local file write via crafted session archive

    CVE-2026-50558 PyPI Updated 4 August 2026

References