CVE-2026-128087

Source
https://cve.org/CVERecord?id=CVE-2026-128087
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128087.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-128087
Aliases
Downstream
CGA (2)
DEBIAN (1)
Published
2026-11-13T19:03:26Z
Modified
2026-11-15T02:46:34Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
russh kex_done: shared-secret callback runs before server host-key verification
Details

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. From version 0.55.0 until version 0.65.1, the initial key exchange invokes client::Handler::kex_done() with the raw shared secret before check_server_key() accepts the server host key or certificate. A malicious SSH server can therefore trigger application-defined secondary-channel initialization or early data handling even when the server identity is subsequently rejected. Ordinary clients that keep the callback's no-op default or independently defer callback-derived actions until trust is confirmed are not affected. This issue is fixed in version 0.65.1.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-696",
        "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128087.json"
}
References

Affected packages

Git / github.com/eugeny/russh

Affected ranges

Type
GIT
Repo
https://github.com/eugeny/russh
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.55.0"
                },
                {
                    "fixed": "0.65.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "43a46d67a80a7355fcd2fb25e7e00d79aec8184c"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v0.65.1",
            "range": [
                {
                    "fixed": "b33092aad1e51c66258a12e8b83fc473a68d9d34"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.55.0
v0.56.0
v0.57.0
v0.57.1
v0.58.0
v0.59.0
v0.60.0
v0.60.1
v0.60.2
v0.60.3
v0.61.0
v0.61.1
v0.61.2
v0.62.0
v0.62.1
v0.62.2
v0.62.3
v0.62.4
v0.62.5
v0.62.6
v0.62.7
v0.63.0
v0.63.0-beta.1
v0.63.1
v0.63.2
v0.63.3
v0.64.0
v0.64.1
v0.65.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-128087.json"