← Back to CVE Explorer

CVE-2026-50558

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
5.9 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-07-29 16:17:52.900000
Last modified
2026-10-23 23:10:00.157000
View original CVE JSON
{
  "id": "CVE-2026-50558",
  "sourceIdentifier": "[email protected]",
  "published": "2026-07-29T16:17:52.900",
  "lastModified": "2026-10-23T23:10:00.157",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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."
    },
    {
      "lang": "es",
      "value": "Penelope Shell Gestor es un gestor de shell de post-explotación para pruebas de seguridad autorizadas. Antes de la versión 0.20.0, la implementación de download() de Unix en penelope.py utilizaba tar.extractall(local_download_folder) en archivos tar devueltos por sesiones remotas sin validar las rutas de los miembros, permitiendo que una sesión maliciosa o comprometida escribiera archivos fuera del directorio de descarga previsto y potencialmente sobrescribiera ~/.penelope/peneloperc. Este problema se ha corregido en la versión 0.20.0."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "brightio",
          "product": "penelope",
          "versions": [
            {
              "version": "< 0.20.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L",
          "baseScore": 5.9,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 4.2
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-07-29T17:59:13.087639Z",
          "id": "CVE-2026-50558",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-22"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/brightio/penelope/releases/tag/v0.20.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}