Paramiko not properly checking authentication before processing other requests
Published 12 Jul 2018 · Updated 9 Jun 2026
Is your project on an affected paramiko?
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
pip install 'paramiko>=2.0.8'- Affected
- >=2.1.0 <2.1.5
- Fixed in
- 2.1.5
pip install 'paramiko>=2.1.5'- Affected
- >=2.2.0 <2.2.3
- Fixed in
- 2.2.3
pip install 'paramiko>=2.2.3'- Affected
- >=2.3.0 <2.3.2
- Fixed in
- 2.3.2
pip install 'paramiko>=2.3.2'- Affected
- >=2.4.0 <2.4.1
- Fixed in
- 2.4.1
pip install 'paramiko>=2.4.1'- Affected
- >=1.18.0 <1.18.5
- Fixed in
- 1.18.5
pip install 'paramiko>=1.18.5'- Affected
- <1.17.6
- Fixed in
- 1.17.6
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2018-7750
- Linkgithub.com/paramiko/paramiko/issues/1175
- Linkgithub.com/paramiko/paramiko/commit/fa29bd8446c8eab237f5187d28787727b4610516
- Linkgithub.com/paramiko/paramiko/commit/e9dfd854bdaf8af15d7834f7502a0451d217bb8c
- Linkwww.exploit-db.com/exploits/45712
- Linkweb.archive.org/web/20190831123128/http://www.securityfocus.com/bid/103713
- Linkusn.ubuntu.com/3603-2
- Linkusn.ubuntu.com/3603-1
- Linklists.debian.org/debian-lts-announce/2021/12/msg00025.html
- Linklists.debian.org/debian-lts-announce/2018/10/msg00018.html
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/paramiko/PYSEC-2018-19.yaml
- Linkgithub.com/paramiko/paramiko/blob/master/sites/www/changelog.rst
- Linkgithub.com/paramiko/paramiko/blob/e861c7697622774071ce73b46ffe8817eacdedfa/sites/www/changelog.rst?plain=1#L759-L763
- Packagegithub.com/paramiko/paramiko
- Advisorygithub.com/advisories/GHSA-232r-66cg-79px
- Linkaccess.redhat.com/errata/RHSA-2018:1972
- Linkaccess.redhat.com/errata/RHSA-2018:1525
- Linkaccess.redhat.com/errata/RHSA-2018:1328
- Linkaccess.redhat.com/errata/RHSA-2018:1274
- Linkaccess.redhat.com/errata/RHSA-2018:1213
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.