Skip to content
Heist/ feed
Back to feed
MediumFix available

rust-russh — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-46705

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.

Products
rust-russh
Affected versions
0.57.1-1, 0.57.1-2
Fixed versions
0.64.1-1
CVEs
CVE-2026-46705
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:15 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-46705

core-osv · Original source

Published 10 Jun 2026, 22:17 UTC

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.

osv:DEBIAN-CVE-2026-46705

rust-russh

Fixed versions: 0.64.1-1

Complete source record
{
  "id": "767293944fb238b9d9f7e645d1e5cbd1630bfd87f712d5716b89d873fd3fad3b",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-46705",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-46705",
    "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.",
    "evidence": "osv:DEBIAN-CVE-2026-46705",
    "products": [
      {
        "name": {
          "value": "rust-russh",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.64.1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "0.57.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.57.1-2",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2026-46705",
      "aliases": [
        "DEBIAN-CVE-2026-46705"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.64.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rust-russh",
            "purl": "pkg:deb/debian/rust-russh?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "0.57.1-1",
            "0.57.1-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-46705.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-14T16:00:16.570053989Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-46705"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-46705"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-46705",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 316445,
  "published_at": "2026-06-10T22:17:00.713+00:00"
}