CVE-2018-7750: Paramiko SSH Server Authentication Bypass

paramiko Updated 02 Oct 2025

Summary

12/07/2018
Yes i
Critical
9.8

CVE-2018-7750: Paramiko not properly checking authentication before processing other requests. Affects paramiko across 7 version ranges.

< 1.17.6 >= 1.18.0, < 1.18.5 >= 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

Fixed in 7 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Also tracked for

The same CVE-2018-7750 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Paramiko is an open-source Python library that implements the SSHv2 protocol for secure remote connections. It provides a high-level API for handling SSH connections and allows users to create SSH servers and clients. Paramiko is widely used in various applications and frameworks for secure communication. However, versions before 2.4.1 are vulnerable to an authentication bypass vulnerability.

Vulnerability Detail

The vulnerability (CVE-2018-7750) in Paramiko SSH server implementation allows an attacker to bypass authentication and gain unauthorized access to the server. The issue arises from a lack of proper authentication checks before processing other requests. An attacker can exploit this vulnerability by sending a specially crafted channel-open request, effectively skipping the authentication step. This can lead to unauthorized access, privilege escalation, and potential compromise of the server.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.17.6 1.17.6
    pip install --upgrade "paramiko==1.17.6"
  • >= 1.18.0, < 1.18.5 1.18.5
    pip install --upgrade "paramiko==1.18.5"
  • >= 2.0.0, < 2.0.8 2.0.8
    pip install --upgrade "paramiko==2.0.8"
  • >= 2.1.0, < 2.1.5 2.1.5
    pip install --upgrade "paramiko==2.1.5"
  • >= 2.2.0, < 2.2.3 2.2.3
    pip install --upgrade "paramiko==2.2.3"
  • >= 2.3.0, < 2.3.2 2.3.2
    pip install --upgrade "paramiko==2.3.2"
Show all 7 release lines
  • >= 2.4.0, < 2.4.1 2.4.1
    pip install --upgrade "paramiko==2.4.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading Paramiko to a secure version.

Conclusion

The vulnerability (CVE-2018-7750) in Paramiko SSH server implementation allows an attacker to bypass authentication and gain unauthorized access to the server. It is crucial to upgrade Paramiko to version 2.4.1 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for paramiko →

Share this vulnerability

FAQ

Paramiko is an open-source Python library that implements the SSHv2 protocol for secure remote connections. It is widely used for creating SSH servers and clients.

The vulnerability allows an attacker to bypass authentication and gain unauthorized access to the server. This can lead to potential compromise of the server and unauthorized actions.

To fix this vulnerability, upgrade Paramiko to version 2.4.1 or later. This version includes the necessary fixes to properly check authentication before processing requests.

There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading Paramiko to a secure version.

Related vulnerabilities

Recent vulnerabilities recorded for paramiko.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 1.17.6 1.17.6
    pip install --upgrade "paramiko==1.17.6"
  • >= 1.18.0, < 1.18.5 1.18.5
    pip install --upgrade "paramiko==1.18.5"
  • >= 2.0.0, < 2.0.8 2.0.8
    pip install --upgrade "paramiko==2.0.8"
  • >= 2.1.0, < 2.1.5 2.1.5
    pip install --upgrade "paramiko==2.1.5"
  • >= 2.2.0, < 2.2.3 2.2.3
    pip install --upgrade "paramiko==2.2.3"
  • >= 2.3.0, < 2.3.2 2.3.2
    pip install --upgrade "paramiko==2.3.2"
Show all 7 release lines
  • >= 2.4.0, < 2.4.1 2.4.1
    pip install --upgrade "paramiko==2.4.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback