CVE Explorer
CVE-2026-50558
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"penelope","vendor":"brightio","versions":[{"status":"affected","version":"< 0.20.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62","tags":["x_refsource_MISC"],"url":"https://github.com/brightio/penelope/commit/a040afb5db32c7e80b5e8a2f9b2164cf911cfa62"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/references/1
{"name":"https://github.com/brightio/penelope/releases/tag/v0.20.0","tags":["x_refsource_MISC"],"url":"https://github.com/brightio/penelope/releases/tag/v0.20.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/adp/0/references/0
{"name":"https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r","tags":["x_refsource_CONFIRM"],"url":"https://github.com/brightio/penelope/security/advisories/GHSA-f42x-p2mx-hm8r"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f2b813b080626546f0dafc57ed1968623f19b17fceccc5a2d6f2a7207881da35 · sha256:ed88b335ee788ee3… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.