CVE-2026-46705

MEDIUM CVSS 3.1: 5.3 EPSS 0.22%
Updated Jul 23, 2026
Russh
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 0.61.0
Fixed In 0.61.0
Type CWE-287 (Improper Authentication)
Vendor Russh
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1