Is SSH.NET 2020.0 vulnerable?

NuGet · 3 releases from 2020.0.0 to 2020.0.2 · latest SSH.NET is 2026.0.1 · checked 18 Nov 2026

Yes: 2 known advisories

Yes. SSH.NET 2020.0.2, the last 2020.0 release, is affected by 2 known security advisories (2 high), including CVE-2026-85756, CVE-2026-48798. 1 more affects earlier 2020.0.x releases. Upgrade to 2026.0.0 or later to fix all of them.

Upgrade with:dotnet add package SSH.NET --version 2026.0.0

Is your project on an affected SSH.NET?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting SSH.NET 2020.0.2

  • HighCVE-2026-85756GHSA-mggc-4xg6-vcxf17 Sept 2026

    SSH.NET: ScpClient allows server-side RCE via default SCP path handling

    Affected
    <2026.0.0
    Fixed in
    2026.0.0
  • HighCVE-2026-48798GHSA-q939-rpr3-328412 Aug 2026

    SSH.NET: ScpClient Recursive Download Allows Arbitrary File Write via Server-Controlled SCP Filenames

    Affected
    <2026.0.0
    Fixed in
    2026.0.0

Fixed within 2020.0.x, affecting earlier releases

  • MediumCVE-2022-29245GHSA-72p8-v4hg-v45p1 Jun 2022

    Weak private key generation in SSH.NET

    Affected
    <2020.0.2
    Fixed in
    2020.0.2

Every SSH.NET 2020.0.x release

Affected: 2020.0.0 to 2020.0.2. Latest SSH.NET: 2026.0.1.

VersionKnown advisories
SSH.NET 2020.0.2CVE-2026-85756, CVE-2026-48798
SSH.NET 2020.0.1CVE-2026-85756, CVE-2026-48798, CVE-2022-29245
SSH.NET 2020.0.0CVE-2026-85756, CVE-2026-48798, CVE-2022-29245

Which of your client projects are still on SSH.NET 2020.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact SSH.NET version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other SSH.NET versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.