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. Version 2.23.0 contains an incomplete fix for CVE-2026-45309 in SSHServerConfig._set_tokens that blocks /, , and .. before %u substitution in AuthorizedKeysFile but does not block a leading ~ or ${ENV}, allowing later expansion in _expand_val and Path(filename).expanduser() to escape the intended authorized-keys directory. This issue is fixed in version 2.23.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ronf | asyncssh | < 2.23.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-asyncssh | 2.24.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | python-asyncssh | No fix yet | — |
| Ubuntu 26.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu 25.10 | python-asyncssh | No fix yet | — |
| Ubuntu 20.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu 16.04 LTS | python-asyncssh | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu Pro 22.04 LTS | python-asyncssh | No fix yet | — |
| Ubuntu Pro 18.04 LTS | python-asyncssh | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | asyncssh | < 2.23.1 | 2.23.1 | GHSA-qr67-gv47-xwwh |