Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceAdvisoriesAdvisory

GHSA-652h-xwhf-q4h6

OS Command Injection in ssh2

In short

What to know.

Package
  • ssh2 npmbefore 1.4.0
What to do
Upgrade ssh2 to 1.4.0 or later.
Source's rating
HighNoumen has not assessed it.
Noumen finding
NMN-2026-0066Candidate. Severity high, confidence high.

3 December 2026

Source

  1. OSV record GHSA-652h-xwhf-q4h6osv.devRetrieved 3 December 2026

Full record

Identifier
GHSA-652h-xwhf-q4h6
Aliases
CVE-2020-26301
Severity
High, as rated by the source. Noumen has not assessed it.
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N
Fixed versions
1.4.0
Published
21 September 2021
Modified
12 February 2024
Source
OSV record GHSA-652h-xwhf-q4h6, retrieved 3 December 2026, 00:00 UTC

Affected packages and ranges

Affected packages
PackageAffected versionsFixed in
ssh2
npm
before 1.4.01.4.0

Affected means inside a published range, not that the code path is reachable in your project.

Details, as published by the source
As published by the source
ssh2 is client and server modules written in pure JavaScript for node.js. In ssh2 before version 1.4.0 there is a command injection vulnerability. The issue only exists on Windows. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. This is fixed in version 1.4.0.