# CVE-2026-46705: russh server userauth state is not reset when authentication principal changes

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T19:39:41.000Z
- Modified: 2026-09-10T03:51:05.855Z
- Also known as: GHSA-hpv4-5h6f-wqr3
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Eugeny russh: >= 0.34.0-beta.1, < 0.61.0
- russh (crates.io): from 0.34.0-beta.1 before 0.61.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46705> (advisory)
- <https://github.com/Eugeny/russh> (package)

## Sources

- CVE List: [CVE-2026-46705](https://www.cve.org/CVERecord?id=CVE-2026-46705), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-hpv4-5h6f-wqr3](https://github.com/advisories/GHSA-hpv4-5h6f-wqr3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46705](https://nvd.nist.gov/vuln/detail/CVE-2026-46705), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-46705 · Whole record: https://cve.day/CVE-2026-46705.json · Rebuilt by cve.day 2026-11-25T22:59:24.384Z
