russh server userauth state is not reset when authentication principal changes
Published Jun 10, 2026
5.3
MEDIUMCVSS 3.1
EPSS 0.36%
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.
Affected products
-
- Version >= 0.34.0-beta.1, < 0.61.0StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (4)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36126 Advisory
- https://github.com/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3 exploitx_refsource_CONFIRM
- https://github.com/advisories/GHSA-hpv4-5h6f-wqr3 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-46705
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-36126 | Advisory | |
| https://github.com/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3 | exploitx_refsource_CONFIRM | |
| https://github.com/advisories/GHSA-hpv4-5h6f-wqr3 | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-46705 |
Change history (0)
No recorded changes yet.