Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. penelope-shell-handler
  4. ›
  5. CVE-2026-50558

CVE-2026-50558: Penelope unsafe tar extraction allows arbitrary local file write via crafted session archive

July 29, 2026

Penelope versions prior to 0.19.3 extracted tar archives received from remote sessions without validating archive member paths. When using the affected Unix download path, a malicious or compromised remote session could return a crafted tar archive containing path traversal entries, such as ../, causing files to be written outside the intended download directory on the Penelope operator’s machine.

The impact is limited to files writable by the user running Penelope. In some cases, this arbitrary file write could be chained to operator-side code execution if the attacker can overwrite a file that Penelope or the user later executes, such as ~/.penelope/peneloperc. The issue has been fixed in version 0.19.3 by rejecting unsafe archive paths during extraction.

References

  • github.com/advisories/GHSA-f42x-p2mx-hm8r
  • github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62
  • github.com/brightio/penelope/releases/tag/v0.20.0
  • github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r
  • nvd.nist.gov/vuln/detail/CVE-2026-50558

Code Behaviors & Features

Detect and mitigate CVE-2026-50558 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.20.0

Fixed versions

  • 0.20.0

Solution

Upgrade to version 0.20.0 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/penelope-shell-handler/CVE-2026-50558.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:00 +0000.