CVE-2026-46705
Description
Russh is a Rust SSH client & server library. From version 0.34.0-beta.1 to before version 0.61.0, the russh server authentication path keeps internal userauth state across SSH_MSG_USERAUTH_REQUEST messages without separating that state when the request principal changes. RFC 4252 allows the user name and service name fields to change between authentication requests. The issue is not that such changes are invalid. The issue is that russh-owned authentication state, such as remaining methods, partial-success state, and in-progress method state, can remain associated with the connection and then influence a later request for a different (user, service). This is an internal library state mismatch. This issue has been patched in version 0.61.0.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
russhcrates.io | >= 0.34.0-beta.1, < 0.61.0 | 0.61.0 |
Affected products
4- osv-coords3 versions
< 26.5.6-r2+ 2 more
- (no CPE)range: < 26.5.6-r2
- (no CPE)range: < 26.5.6-r2
- (no CPE)range: >= 0.34.0-beta.1, < 0.61.0
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.