CVE-2026-45309 AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.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.
Upgrade path
12 packages: 3 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-asyncssh(Debian 12) | = 2.10.1-2; = 2.10.1-2+deb12u1; = 2.10.1-2+deb12u2; = 2.15.0-1 +14 more | No fix listed | No fix yet |
| debian/python-asyncssh(Debian 13) | = 2.20.0-1; = 2.21.0-1; = 2.21.1-1; = 2.22.0-1 +5 more | No fix listed | No fix yet |
| redhat/rhceph/rhceph-7-rhel9(Red Hat ceph_storage 7) | All versions | No fix listed | No fix yet |
| redhat/rhceph/rhceph-8-rhel9(Red Hat ceph_storage 8) | All versions | No fix listed | No fix yet |
| redhat/rhceph/rhceph-9-rhel9(Red Hat ceph_storage 9) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/python-asyncssh(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| asyncssh project asyncssh | < 2.23.0 | 2.23.0 | Fixed |
| debian/python-asyncssh(Debian 14) | < 2.23.0-1; = 2.20.0-1; = 2.21.0-1; = 2.21.1-1 +2 more | 2.23.0-1 | Fixed |
| pypi asyncssh(PyPI) | = 2.22.0; >= 2.22.0, < 2.23.0 | 2.23.0 | Fixed |
| ronf asyncssh | = < 2.23.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi asyncssh(PyPI) | >= 2.22.0, < 2.23.0 | 2.23.0 |
| pypi asyncssh(PyPI) | = 2.22.0 | No fix listed |
| ronf asyncssh | = < 2.23.0 | No fix listed |
| redhat/rhceph/rhceph-7-rhel9(Red Hat:ceph_storage:7) | All versions | No fix listed |
| redhat/rhceph/rhceph-8-rhel9(Red Hat:ceph_storage:8) | All versions | No fix listed |
| redhat/rhceph/rhceph-9-rhel9(Red Hat:ceph_storage:9) | All versions | No fix listed |
| debian/python-asyncssh(Debian:12) | All versions | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.10.1-2 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.10.1-2+deb12u1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.10.1-2+deb12u2 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.15.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.16.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.17.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.17.0-2 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.18.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.19.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.20.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.21.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.21.1-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.22.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.22.0-2 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.23.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.24.0-1 | No fix listed |
| debian/python-asyncssh(Debian:12) | = 2.24.0-2 | No fix listed |
| debian/python-asyncssh(Debian:13) | All versions | No fix listed |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/python-asyncssh(Debian:13) | = 2.20.0-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.21.0-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.21.1-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.22.0-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.22.0-2 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.23.0-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.24.0-1 | No fix listed |
| debian/python-asyncssh(Debian:13) | = 2.24.0-2 | No fix listed |
| debian/python-asyncssh(Debian:14) | < 2.23.0-1 | 2.23.0-1 |
| debian/python-asyncssh(Debian:14) | = 2.20.0-1 | No fix listed |
| debian/python-asyncssh(Debian:14) | = 2.21.0-1 | No fix listed |
| debian/python-asyncssh(Debian:14) | = 2.21.1-1 | No fix listed |
| debian/python-asyncssh(Debian:14) | = 2.22.0-1 | No fix listed |
| debian/python-asyncssh(Debian:14) | = 2.22.0-2 | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/python-asyncssh(Ubuntu:26.04) | All versions | No fix listed |
| asyncssh project asyncssh | < 2.23.0 | 2.23.0 |
References
- https://github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h exploit vendor-advisory
- github.com product
- https://github.com/ronf/asyncssh/commit/2af2382cce946c959a378a62f257af253dc4ab51 patch
- https://github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88 patch
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2501842 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-45309 vendor-advisory
- Ubuntu CVE tracker vendor-advisory