Skip to main content
← All vulnerabilities
CVE-2026-54590PYSEC-2026-3809GHSA-QR67-GV47-XWWH

AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.23.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • ronf asyncssh

    fixed in 2.23.1

  • asyncsshPyPI

    fixed in 2.23.1

References 3

GitHub · ronf/asyncssh