CVE Catalog

CVE-2026-50558

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.37%

29th percentile - higher than 29% of all known CVEs

Summary

A vulnerability in Penelope Shell Handler (prior to 0.20.0) allows writing files outside the intended download directory via a crafted tar archive, potentially overwriting the ~/.penelope/peneloperc configuration file.

Risk Assessment

An attacker can persistently modify the tool's configuration, potentially enabling further privilege escalation or persistent session takeover.

Recommendation

Update Penelope Shell Handler to version 0.20.0 or later.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS