CVE-2026-50558
MEDIUM 5.9CVSS 3.1Penelope unsafe tar extraction allows arbitrary local file write via crafted session archive
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.
- Published
- 29 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-f42x-p2mx-hm8rPYSEC-2026-3606
- Sources
- NVDJSONOSV GHSA-f42x-p2mx-hm8rJSONOSV PYSEC-2026-3606JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | penelope-shell-handler | < 0.20.0 | 0.20.0 |
References
- https://github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62 · WEB
- https://github.com/brightio/penelope/releases/tag/v0.20.0 · WEB
- https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r · WEB
- https://github.com/brightio/penelope · PACKAGE
- https://pypi.org/project/penelope-shell-handler · PACKAGE
- https://github.com/advisories/GHSA-f42x-p2mx-hm8r · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-50558 · ADVISORY
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 29 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Jul 2026)