CVE-2026-45309

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:*

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) AsyncSSH es un paquete de Python que proporciona una implementación asíncrona de cliente y servidor del protocolo SSHv2 sobre el framework asyncio de Python. Antes de la versión 2.23.0, AsyncSSH expande el token %u de AuthorizedKeysFile compatible con OpenSSH en asyncssh/config.py, asyncssh/connection.py, asyncssh/auth_keys.py y asyncssh/misc.py con el nombre de usuario SSH sin procesar durante la recarga de la configuración del servidor de pre-autenticación, lo que permite a un servidor configurado con AuthorizedKeysFile authorized_keys/%u leer un archivo de claves autorizadas fuera del directorio previsto cuando el nombre de usuario SSH contiene segmentos de salto de ruta /, \, o .. y autenticarse con un archivo de claves seleccionado por el atacante. Este problema está solucionado en la versión 2.23.0.

Information

Published : 2026-07-17 19:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-45309

Mitre link : CVE-2026-45309

CVE.ORG link : CVE-2026-45309


JSON object : View

Products Affected

asyncssh_project

  • asyncssh
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')