{"id":"CVE-2026-54591","state":"PUBLISHED","title":"AsyncSSH: SCP Path Traversal to Arbitrary File Write","description":"AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Prior to 2.23.1, a malicious SSH server can write arbitrary files on the asyncssh SCP client's filesystem by sending filenames containing ../ traversal sequences because _parse_cd_args in scp.py returns server-provided names verbatim and _recv_files joins them to the destination path without enforcing the target directory boundary. This issue is fixed in version 2.23.1.","publishedAt":"2026-07-08T20:33:57.420Z","updatedAt":"2026-07-09T14:40:52.505Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["ronf asyncssh"],"affected":[{"vendor":"ronf","product":"asyncssh","versions":[{"version":"< 2.23.1","status":"affected"}]}],"references":["https://github.com/ronf/asyncssh/security/advisories/GHSA-2wxc-x7rj-hg8f","https://github.com/ronf/asyncssh/commit/d730803b8e4e94c20c7580d90f94d1e05f9f58de","https://github.com/ronf/asyncssh/releases/tag/v2.23.1"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:24.861Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/54xxx/CVE-2026-54591.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-54591","state":"PUBLISHED","datePublished":"2026-07-08T20:33:57.420Z","dateUpdated":"2026-07-09T14:40:52.505Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-15T19:45:23.539Z"},"containers":{"cna":{"title":"AsyncSSH: SCP Path Traversal to Arbitrary File Write","descriptions":[{"lang":"en","value":"AsyncSSH is a Python package which provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework. Prior to 2.23.1, a malicious SSH server can write arbitrary files on the asyncssh SCP client's filesystem by sending filenames containing ../ traversal sequences because _parse_cd_args in scp.py returns server-provided names verbatim and _recv_files joins them to the destination path without enforcing the target directory boundary. This issue is fixed in version 2.23.1."}],"affected":[{"vendor":"ronf","product":"asyncssh","versions":[{"version":"< 2.23.1","status":"affected"}]}],"references":[{"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-2wxc-x7rj-hg8f","name":"https://github.com/ronf/asyncssh/security/advisories/GHSA-2wxc-x7rj-hg8f","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ronf/asyncssh/commit/d730803b8e4e94c20c7580d90f94d1e05f9f58de","name":"https://github.com/ronf/asyncssh/commit/d730803b8e4e94c20c7580d90f94d1e05f9f58de","tags":["x_refsource_MISC"]},{"url":"https://github.com/ronf/asyncssh/releases/tag/v2.23.1","name":"https://github.com/ronf/asyncssh/releases/tag/v2.23.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-08T20:33:57.420Z"},"source":{"advisory":"GHSA-2wxc-x7rj-hg8f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-09T14:21:05.079234Z","id":"CVE-2026-54591","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-09T14:40:52.505Z"}}]}}}