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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-10 · Modified: 2026-06-11
- Aliases: DEBIAN-CVE-2026-46705, CGA-ghrf-8wqp-qr8m, CGA-jvg2-gf6j-5x6w, GHSA-hpv4-5h6f-wqr3
- Record: https://cvemate.com/vulnerability/CVE-2026-46705 · JSON: https://cvemate.com/vulnerability/CVE-2026-46705/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.218%, percentile 13.044%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard yazi (Chainguard): \< 26.5.6-r2
- wolfi yazi (Wolfi): \< 26.5.6-r2
- Crates.Io russh (Crates.Io): ≥ 0.34.0-beta.1, \< 0.61.0
- debian rust-russh (Debian): All versions (No fix recorded) \| \< 0.64.1-1
- eugeny russh: ≥ 0.34.0-beta.1, \< 0.61.0

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3>
- <https://security-tracker.debian.org/tracker/CVE-2026-46705>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46705.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-46705>
- <https://github.com/Eugeny/russh>

---

Data as of 2026-12-05T13:50:34.849Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
