Moderate severityNVD Advisory· Published Jul 29, 2026· Updated Jul 29, 2026
Penelope unsafe tar extraction allows arbitrary local file write via crafted session archive
CVE-2026-50558
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
penelope-shell-handlerPyPI | < 0.20.0 | 0.20.0 |
Affected products
1Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-f42x-p2mx-hm8rghsaADVISORY
- github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62ghsax_refsource_MISCWEB
- github.com/brightio/penelope/releases/tag/v0.20.0ghsax_refsource_MISCWEB
- github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8rghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.