Dvc: asyncssh has an incomplete fix for CVE-2026-45309 — AuthorizedKeysFile %u still escapes the intended directory
Affects dvcSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.9 Medium : upgrade to 3.67.1_7 when convenient.
Data as of 4 Dec 2026, 20:16 UTC
- Patch
- Available – fixed in 3.67.1_7, 2.23.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade dvc to 3.67.1_7; asyncssh to 2.23.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewdvcpkg:brew/dvcOther threats | Affected
| Fixed in
|
PyPIasyncsshpkg:pypi/asyncsshOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in asyncssh version 3.67.1_7 that fully addresses this issue by tightening username validation to reject leading '~' and environment variable references. Users should upgrade to this fixed version. No additional mitigations are required if the patch is applied.
Description
An incomplete fix in asyncssh versions 2.23.0 and certain development builds allows bypassing username sanitization for the AuthorizedKeysFile configuration. The vulnerability arises because the fix blocks slashes and '..' in usernames but does not block leading '~' or environment variable expansions, which are later expanded and can redirect the authorized keys file lookup outside the intended directory. This can enable an attacker to authenticate as another user if they can place a key in the redirected authorized_keys file. The issue is fixed in asyncssh version 3.67.1_7.
References
- github.com/ronf/asyncssh/security/advisories/GHSA-qr67-gv47-xwwh (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-54590 (opens in a new tab)
- github.com/ronf/asyncssh/commit/3d515ba9ba0cd9990d248bdf62bcf05d51261a88 (opens in a new tab)
- github.com/ronf/asyncssh (opens in a new tab)
- github.com/ronf/asyncssh/releases/tag/v2.23.1 (opens in a new tab)