CVE-2026-46705 json
russh server userauth state is not reset when authentication principal changes
published 5mo ago modified last mo. also EUVD-2026-36126 , GHSA-hpv4-5h6f-wqr3
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io russh 0.61.0
- russh_project russh 0.61.0
- warpgate_project warpgate 0.61.0
- rust-russh Debian 14 0.64.1-1
debian advisories DEBIAN-CVE-2026-46705
Is CVE-2026-46705 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | russh | >=0.34.0-beta.1, <0.61.0 |
0.61.0 |
Affected products
- Eugeny russh
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/Eugeny/russh/security/advisories/GHSA-hpv4-5h6f-wqr3
exploit, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-46705
advisory
-
github.com
/Eugeny/russh
package
Sources
- CVE List CVE-2026-46705
- GitHub Advisory GHSA-hpv4-5h6f-wqr3
- NVD CVE-2026-46705
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.