{"cve":"CVE-2026-45309","nvd":{"published":"2026-07-17T19:17:14.333","modified":"2026-10-24T20:10:00.137","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.2},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/ronf/asyncssh/commit/2af2382cce946c959a378a62f257af253dc4ab51","https://github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88","https://github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h","https://github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h"],"products":["asyncssh_project:asyncssh"],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-45309","score":0.00592,"percentile":0.47999,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-g794-3fmp-753h","url":"https://osv.dev/vulnerability/GHSA-g794-3fmp-753h","summary":"AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username","modified":"2026-09-10T03:50:47.025000862Z","packages":[{"ecosystem":"PyPI","name":"asyncssh","purl":"pkg:pypi/asyncssh","ranges":[">=2.22.0 <2.23.0"],"fixed":["2.23.0"]}]},{"id":"PYSEC-2026-2384","url":"https://osv.dev/vulnerability/PYSEC-2026-2384","summary":"AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username","modified":"2026-07-13T16:31:31.297854793Z","packages":[{"ecosystem":"PyPI","name":"asyncssh","purl":"pkg:pypi/asyncssh","ranges":[">=2.22.0 <2.23.0"],"fixed":["2.23.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}