# CVE-2026-144666: AsyncSSH before 2.24.2 Arbitrary File Write via SCP Client Download

Source: https://aplosec.si/cve/CVE-2026-144666/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-144666

Medium 6.0 · Reported · Fixed in 2.24.2 · CWE-73 · PyPI

# AsyncSSH before 2.24.2 Arbitrary File Write via SCP Client Download

CVE-2026-144666 · published 2026-12-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

## Summary

CVE-2026-144666 affects AsyncSSH (PyPI) < 2.24.2: Arbitrary File Write via SCP Client Download (CWE-73). Fixed in 2.24.2. CVSS 4.0 base score 6.0 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).

AsyncSSH before 2.24.2 contains an arbitrary file write vulnerability in the SCP client that allows malicious servers to write unrequested files by not validating that returned names match the requested path. Attackers controlling an SCP server can send files such as .bashrc or a .ssh directory with authorized_keys to gain code execution or persistent SSH access on the client.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

Upgrade AsyncSSH to 2.24.2 or later. Releases in the affected range (< 2.24.2) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-12-04 CVE published

## References

- [Referencehttps://github.com/ronf/asyncssh/security/advisories/GHSA-pvf2-q84m-2j7g](https://github.com/ronf/asyncssh/security/advisories/GHSA-pvf2-q84m-2j7g)

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/asyncssh-before-2.24.2-arbitrary-file-write-via-scp-client-download](https://www.vulncheck.com/advisories/asyncssh-before-2.24.2-arbitrary-file-write-via-scp-client-download)

- [Fix commithttps://github.com/ronf/asyncssh/commit/250780eb732bb02a25e5971d65b151004d80e7a1](https://github.com/ronf/asyncssh/commit/250780eb732bb02a25e5971d65b151004d80e7a1)

- [Fix commithttps://github.com/ronf/asyncssh/commit/b09d78e3c90f55fac22786da46756571eff58ecb](https://github.com/ronf/asyncssh/commit/b09d78e3c90f55fac22786da46756571eff58ecb)

- [Releasehttps://github.com/ronf/asyncssh/releases/tag/v2.24.2](https://github.com/ronf/asyncssh/releases/tag/v2.24.2)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144666](https://www.cve.org/CVERecord?id=CVE-2026-144666)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144666](https://nvd.nist.gov/vuln/detail/CVE-2026-144666)

**Severity:** Medium 6.0 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-144666)

**Package:** AsyncSSH

**Ecosystem:** PyPI

**Affected:** < 2.24.2

**Fixed:** 2.24.2

**Weakness:** CWE-73

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
