Submit #978646: jbardin scp.py 0.16.1 Path Traversalinfo

Titlejbardin scp.py 0.16.1 Path Traversal
Descriptionscp.py (jbardin) up to 0.16.1 is vulnerable to path traversal via server-controlled filenames during SCP receive operations (CWE-22). The _recv_file and _recv_pushd methods join server-provided filenames with only an isabs() check, without blocking dot-dot components. A malicious SCP server can write files to arbitrary locations on the client filesystem. This is an incomplete fix of CVE-2019-6111 — the original fix added isabs() validation but did not normalize directory traversal sequences. CVSS 8.1 High (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H). Researcher: mohammad adnan (cystack.ps redteam).
Source⚠️ https://github.com/jbardin/scp.py/issues/206
User
 Anonymous User
Submission09/15/2026 00:22 (28 days ago)
Moderation10/12/2026 13:41 (28 days later)
StatusAccepted
VulDB entry416886 [jbardin scp.py up to 0.16.1 SCP Receive _recv_file/_recv_pushd path traversal]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!