Skip to main content
← All vulnerabilities
CVE-2026-50558PYSEC-2026-3606GHSA-F42X-P2MX-HM8R

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.20.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • brightio penelope

    fixed in 0.20.0

  • penelope-shell-handlerPyPI

    fixed in 0.20.0

References 3

GitHub · brightio/penelope