{"id":"CVE-2026-77473","state":"PUBLISHED","title":"AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames","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.24.1, recursive remote-to-local SFTP copies in SFTPClient._copy() in asyncssh/sftp.py, reached through get(), mget(), and copy(), trust filenames returned by a remote server's directory enumeration. A malicious or compromised SFTP server can return an absolute filename or a filename containing path separators and parent-directory traversal, causing destination path construction to escape the requested local directory and write attacker-selected content to locations writable by the client process. This issue is fixed in version 2.24.1.","publishedAt":"2026-11-09T21:51:51.146Z","updatedAt":"2026-11-10T19:07:07.943Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["ronf asyncssh"],"affected":[{"vendor":"ronf","product":"asyncssh","versions":[{"version":"< 2.24.1","status":"affected"}]}],"references":["https://github.com/ronf/asyncssh/security/advisories/GHSA-q8m6-9rfx-39rf","https://github.com/ronf/asyncssh/commit/eaf7fd3b058ccb36b51ed932158d36cf304aa7c3","https://github.com/ronf/asyncssh/releases/tag/v2.24.1"],"weaknesses":["CWE-22"],"ingestedAt":"2026-11-10T19:48:04.483Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77473.json","commit":"5caa9c94f92ea0611a00ac5d26b3b70f7271f1d3","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77473","state":"PUBLISHED","datePublished":"2026-11-09T21:51:51.146Z","dateUpdated":"2026-11-10T19:07:07.943Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T20:07:49.963Z"},"containers":{"cna":{"title":"AsyncSSH: SFTP Recursive Copy Path Traversal via Unsanitized Server-Supplied Filenames","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.24.1, recursive remote-to-local SFTP copies in SFTPClient._copy() in asyncssh/sftp.py, reached through get(), mget(), and copy(), trust filenames returned by a remote server's directory enumeration. A malicious or compromised SFTP server can return an absolute filename or a filename containing path separators and parent-directory traversal, causing destination path construction to escape the requested local directory and write attacker-selected content to locations writable by the client process. This issue is fixed in version 2.24.1."}],"affected":[{"vendor":"ronf","product":"asyncssh","versions":[{"version":"< 2.24.1","status":"affected"}]}],"references":[{"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-q8m6-9rfx-39rf","name":"https://github.com/ronf/asyncssh/security/advisories/GHSA-q8m6-9rfx-39rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ronf/asyncssh/commit/eaf7fd3b058ccb36b51ed932158d36cf304aa7c3","name":"https://github.com/ronf/asyncssh/commit/eaf7fd3b058ccb36b51ed932158d36cf304aa7c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/ronf/asyncssh/releases/tag/v2.24.1","name":"https://github.com/ronf/asyncssh/releases/tag/v2.24.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","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:N","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-11-09T21:51:51.146Z"},"source":{"advisory":"GHSA-q8m6-9rfx-39rf","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-10T18:18:35.070099Z","id":"CVE-2026-77473","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-11-10T19:07:07.943Z"}}]}}}