{
  "id": "CVE-2026-45309",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45309",
  "published_at": "2026-07-17T18:40:02.428Z",
  "title": "AsyncSSH `AuthorizedKeysFile %u` path traversal allows attacker-selected authorized keys to authenticate a traversal username",
  "vendor": "ronf",
  "product": "asyncssh",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.2,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "ronf",
        "product": "asyncssh",
        "ranges": [
          "\u003c 2.23.0"
        ],
        "fixed_in": [
          "2.23.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade asyncssh to 2.23.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/ronf/asyncssh/security/advisories/GHSA-g794-3fmp-753h"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ronf/asyncssh/commit/2af2382cce946c959a378a62f257af253dc4ab51"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
