CVE-2026-46705CWE-287

russh server userauth state is not reset when authentication principal changes

Medium · published June 10, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
28.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00362 · 28.8th percentile
Weakness
CWE-287 · Improper Authentication
Published
2026-06-10T20:21Z
EPSS history
Timeline
  • 10 JUN 20:21Z
    russh server userauth state is not reset when authentication principal changes
    cvelistv5