Vulnerability DatabaseCVE-2026-111062

CVE-2026-111062: 
Rust vulnerability analysis and mitigation

Overview

CVE-2026-111062 is an authentication bypass vulnerability in the russh Rust SSH server library caused by improper verification of cryptographic signature algorithms (CWE-347). The russh SSH server fails to validate that the signature algorithm used in a public-key authentication request matches the algorithm declared in the request header, allowing a client to announce rsa-sha2-512 while supplying a valid ssh-rsa (SHA-1) signature. All russh releases from version 0.34.0-beta.1 through 0.63.3 are affected; russh clients are not impacted. The vulnerability was published on October 4, 2026, and has a CVSS v4 base score of 2.3 (Low) and a CVSS v3.1 base score of 3.1 (Low) (Github Advisory).

Technical details

The root cause lies in russh/src/server/encrypted.rs within the server_read_auth_request_pk function, where the declared algorithm name (pubkey_algo) is used only to decode the public key, but is never compared against the algorithm embedded in the signature blob (sig.algorithm()). Because the ssh-key crate picks the hash algorithm from the signature's own metadata rather than the request field, a client can announce rsa-sha2-512 in the authentication request while providing a valid ssh-rsa (SHA-1) signature — and the server will accept it. This behavior was inherited from thrussh, the library russh was forked from, and has been present since the first release. A PoC unit test (poc_sha1_signature_accepted_when_rsa_sha2_512_is_announced) was included in the advisory, demonstrating the flaw without requiring network access or special configuration (Github Advisory, russh Security Advisory).

Impact

The primary impact is an integrity violation: an attacker holding a valid authorized RSA private key can authenticate to a russh-based SSH server using a weaker SHA-1 signature while the server records or enforces the stronger rsa-sha2-512 algorithm. This allows bypassing server-side algorithm restrictions (e.g., policies that reject ssh-rsa/SHA-1 signatures as OpenSSH has done by default since version 8.8) and produces misleading audit logs that do not reflect the actual algorithm used. Confidentiality and availability are not directly impacted, and the vulnerability does not allow authentication without a valid private key (Github Advisory).

Exploitability

A proof-of-concept unit test is publicly documented in the security advisory itself, demonstrating successful exploitation on russh 0.63.3. However, exploitation requires the attacker to already possess a valid authorized RSA private key for the target server, significantly limiting the attack surface. There is no evidence of in-the-wild exploitation, no known threat actor attribution, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.354%, indicating a low probability of exploitation in the near term (Github Advisory, Feedly).

Exploitation steps

  1. Prerequisite: Obtain a valid RSA private key that is authorized on the target russh-based SSH server (e.g., a key listed in authorized_keys or equivalent).
  2. Craft a malformed authentication request: Construct an SSH USERAUTH_REQUEST packet that declares rsa-sha2-512 as the public key algorithm in the request header field (pubkey_algo).
  3. Sign with SHA-1: Generate the authentication signature using the RSA private key with the ssh-rsa (SHA-1) hash algorithm instead of SHA-512, embedding the SHA-1 algorithm identifier in the signature blob.
  4. Send the request: Transmit the crafted packet to the target SSH server running a vulnerable russh version (0.34.0-beta.1 through 0.63.3).
  5. Authentication succeeds: The server verifies the signature using the algorithm from the signature blob (SHA-1), ignores the mismatch with the declared rsa-sha2-512, and grants access — bypassing any SHA-1 restriction policy and logging rsa-sha2-512 in audit records (russh Security Advisory, Github Advisory).

Indicators of compromise

  • Logs: SSH authentication log entries recording rsa-sha2-512 or rsa-sha2-256 as the authentication algorithm for sessions that may have actually used ssh-rsa (SHA-1); discrepancies between declared and actual algorithm in application-level audit logs.
  • Network: SSH USERAUTH_REQUEST packets where the declared public key algorithm field (pubkey_algo) does not match the algorithm identifier embedded in the signature blob — detectable via deep packet inspection of SSH traffic on port 22 or custom SSH ports.
  • Application Behavior: Successful authentication events from clients that should have been rejected by algorithm restriction policies (e.g., clients that should fail SHA-1 enforcement); unexpected access from legacy SSH clients that only support ssh-rsa.

Mitigation and workarounds

Upgrade russh to version 0.64.0 or later, which adds an explicit check comparing the declared algorithm in the authentication request against the algorithm in the signature blob, rejecting any mismatch via the existing reject_auth_request path (russh Release v0.64.0). If immediate patching is not feasible, implement network-level controls to restrict SSH access to trusted hosts only, and deploy independent audit logging that captures raw connection metadata rather than relying solely on client-reported algorithm names (Feedly). Note that the fix commit is a0ded76bdc352f8fbeaaeb175fb2a0c586fbc8f2 in the Eugeny/russh repository.

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

rust-russh: 0.64.1-1

Fixed

Ubuntu

Unknown

devel

rust-russh

Unknown

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-78jj-xfpm-g6pxHIGH7.8
  • JavaScript logoJavaScript
  • alint-dsl
NoYesNov 22, 2026
GHSA-pchg-rmv6-56f4MEDIUMN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-m2w2-wg2f-5p57HIGHN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-4jh8-33j3-h73jHIGHN/A
  • Rust logoRust
  • peeroxide-dht
NoYesNov 22, 2026
GHSA-48wj-x5q3-ggfqMEDIUMN/A
  • Rust logoRust
  • peeroxide
NoYesNov 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management