paramiko vulnerabilities

SSH2 protocol library

Registry
PyPI
Latest
5.1.0
License
LGPL-2.1

6 known advisories

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

Update to the latest version:pip install 'paramiko>=5.1.0'

Is your project on an affected paramiko?

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

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

Security advisories for paramiko

  • LowCVE-2026-44405GHSA-r374-rxx8-86546 May 2026

    Paramiko rsakey.py allows the SHA-1 algorithm

    Affected
    <5.0.0
    Fixed in
    5.0.0
  • MediumCVE-2023-48795GHSA-45x7-px36-x8w818 Dec 2023

    Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin

    Affected
    >=2.5.0 <3.4.0
    Fixed in
    3.4.0
  • HighCVE-2008-0299GHSA-wqmm-q65g-2hqr1 May 2022

    Paramiko Unsafe randomness usage may allow access to sensitive information

    Affected
    <1.7.1-3
    Fixed in
    1.7.1-3
  • HighCVE-2022-24302GHSA-f8q4-jwww-x3wv19 Mar 2022

    Race Condition in Paramiko

    Affected
    >=2.10.0 <2.10.1 · >=2.9.0 <2.9.3
    Fixed in
    2.9.3, 2.10.1
  • HighCVE-2018-1000805GHSA-f2j6-wrhh-v25m10 Oct 2018

    Paramiko Authentication Bypass vulnerability

    Affected
    >=2.4.0 <2.4.2 · >=2.3.0 <2.3.3 · >=2.2.0 <2.2.4 · >=2.1.0 <2.1.6 · >=1.5.1 <2.0.9
    Fixed in
    2.0.9, 2.1.6, 2.2.4, 2.3.3, 2.4.2
  • CriticalCVE-2018-7750GHSA-232r-66cg-79px12 Jul 2018

    Paramiko not properly checking authentication before processing other requests

    Affected
    >=2.0.0 <2.0.8 · >=2.1.0 <2.1.5 · >=2.2.0 <2.2.3 · >=2.3.0 <2.3.2 · >=2.4.0 <2.4.1 · >=1.18.0 <1.18.5 · <1.17.6
    Fixed in
    1.17.6, 1.18.5, 2.0.8, 2.1.5, 2.2.3, 2.3.2, 2.4.1

Is your paramiko version vulnerable?

Which of your client projects still run an old paramiko?

NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock 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 PyPI packages

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