CVE-2026-45309
AsyncSSH is a Python package which provides an asynchronous client …
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.0, AsyncSSH expands the OpenSSH-compatible AuthorizedKeysFile %u token in asyncssh/config.py, asyncssh/connection.py, asyncssh/auth_keys.py, and asyncssh/misc.py with the raw SSH username during pre-authentication server config reload, allowing a server configured with AuthorizedKeysFile authorized_keys/%u to read an authorized-keys file outside the intended directory when the SSH username contains /, \, or .. path traversal segments and authenticate with an attacker-selected key file. This issue is fixed in version 2.23.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h
- github.com/advisories/GHSA-g794-3fmp-753h
- github.com/ronf/asyncssh/commit/2af2382cce946c959a378a62f257af253dc4ab51
- github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88
- nvd.nist.gov/vuln/detail/CVE-2026-45309
- cve.org/CVERecord?id=CVE-2026-45309
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.