SSH.NET vulnerabilities

SSH.NET is a Secure Shell (SSH) library for .NET, optimized for parallelism.

Registry
NuGet
Latest
2026.0.1
License
MIT

3 known advisories

The latest version, 2026.0.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:dotnet add package SSH.NET --version 2026.0.1

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

Security advisories for SSH.NET

  • 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
  • MediumCVE-2022-29245GHSA-72p8-v4hg-v45p1 Jun 2022

    Weak private key generation in SSH.NET

    Affected
    <2020.0.2
    Fixed in
    2020.0.2

Is your SSH.NET version vulnerable?

Which of your client projects still run an old SSH.NET?

NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other NuGet packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.