CriticalGHSA-232r-66cg-79pxCVE-2018-7750PYSEC-2018-19

Paramiko not properly checking authentication before processing other requests

Published 12 Jul 2018 · Updated 9 Jun 2026

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

Affected packages

Affected
>=2.0.0 <2.0.8
Fixed in
2.0.8
Update to the fixed version for your release line, for example:pip install 'paramiko>=2.0.8'
Affected
>=2.1.0 <2.1.5
Fixed in
2.1.5
Update to the fixed version for your release line, for example:pip install 'paramiko>=2.1.5'
Affected
>=2.2.0 <2.2.3
Fixed in
2.2.3
Update to the fixed version for your release line, for example:pip install 'paramiko>=2.2.3'
Affected
>=2.3.0 <2.3.2
Fixed in
2.3.2
Update to the fixed version for your release line, for example:pip install 'paramiko>=2.3.2'
Affected
>=2.4.0 <2.4.1
Fixed in
2.4.1
Update to the fixed version for your release line, for example:pip install 'paramiko>=2.4.1'
Affected
>=1.18.0 <1.18.5
Fixed in
1.18.5
Update to the fixed version for your release line, for example:pip install 'paramiko>=1.18.5'
Affected
<1.17.6
Fixed in
1.17.6
Update to the fixed version for your release line, for example:pip install 'paramiko>=1.17.6'

Details

transport.py in the SSH server implementation of Paramiko before 1.17.6, 1.18.x before 1.18.5, 2.0.x before 2.0.8, 2.1.x before 2.1.5, 2.2.x before 2.2.3, 2.3.x before 2.3.2, and 2.4.x before 2.4.1 does not properly check whether authentication is completed before processing other requests, as demonstrated by channel-open. A customized SSH client can simply skip the authentication step.

Is GHSA-232r-66cg-79px in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected paramiko, and gives you the command that fixes it.

More advisories for paramiko

  • LowCVE-2026-44405Paramiko rsakey.py allows the SHA-1 algorithm · 6 May 2026
  • MediumCVE-2023-48795Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin · 18 Dec 2023
  • HighCVE-2008-0299Paramiko Unsafe randomness usage may allow access to sensitive information · 1 May 2022
  • HighCVE-2022-24302Race Condition in Paramiko · 19 Mar 2022
  • HighCVE-2018-1000805Paramiko Authentication Bypass vulnerability · 10 Oct 2018
paramiko security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.