{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54590","id":"CVE-2026-54590","title":"AsyncSSH AuthorizedKeysFile username substitution bypass through ~ and environment expansion","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 an","descriptionLong":"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.","published":"2026-07-08T20:36:45.258Z","updated":"2026-10-28T02:30:28.984422352Z","reserved":"2026-06-15T19:45:23.538Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ronf asyncssh"],"affectedProducts":[{"vendor":"ronf","product":"asyncssh","defaultStatus":null,"versions":[{"version":"< 2.23.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"asyncssh","purl":"pkg:pypi/asyncssh","ranges":["<2.23.1"],"fixed":["2.23.1"],"advisory":"GHSA-qr67-gv47-xwwh"}],"cwes":["CWE-22","CWE-639"],"aliases":["GHSA-qr67-gv47-xwwh","PYSEC-2026-3809"],"references":[{"url":"https://github.com/ronf/asyncssh/security/advisories/GHSA-qr67-gv47-xwwh","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/ronf/asyncssh/releases/tag/v2.23.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54590.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54590","tags":["advisory"]},{"url":"https://github.com/ronf/asyncssh","tags":["package"]},{"url":"https://pypi.org/project/asyncssh","tags":["package"]},{"url":"https://github.com/advisories/GHSA-qr67-gv47-xwwh","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00336,"epssPercentile":0.27573,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54590","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54590","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54590","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-qr67-gv47-xwwh","ok":true,"note":"GHSA-qr67-gv47-xwwh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54590","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}