CVE-2026-45309
HIGH 8.2CVSS 4.0AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username
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.
- Published
- 17 Jul 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-g794-3fmp-753hPYSEC-2026-2384
- Sources
- NVDJSONCVE ListJSONOSV GHSA-g794-3fmp-753hJSONOSV PYSEC-2026-2384JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | GitHub_M | CVSS 4.0 | HIGH 8.2 | 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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | asyncssh_project | asyncsshcpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:* |
< 2.23.0 | 2.23.0 |
| CVE List | ronf | asyncssh | = < 2.23.0 | |
| OSV | PyPI | asyncssh | < 2.23.0 | 2.23.0 |
| OSV | PyPI | asyncssh | >= 2.22.0, < 2.23.0 | 2.23.0 |
References
- https://github.com/ronf/asyncssh/commit/2af2382cce946c959a378a62f257af253dc4ab51 · Patch, x_refsource_MISC, WEB
- https://github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88 · Patch, x_refsource_MISC, WEB
- https://github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h · Exploit, Vendor Advisory, x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45309 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/asyncssh/PYSEC-2026-2384.yaml · WEB
- https://github.com/ronf/asyncssh · PACKAGE
- https://pypi.org/project/asyncssh · PACKAGE
- https://github.com/advisories/GHSA-g794-3fmp-753h · ADVISORY
History
- 2 Dec 2026 17:04 UTC · OSV: affected list changed (1 entry); 4 references added
- 2 Dec 2026 16:48 UTC · CVE List: first stored (published 17 Jul 2026)
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 May 2026)