{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-26301","id":"CVE-2020-26301","title":"Command injection in mscdex/ssh2","description":"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.","descriptionLong":"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.","published":"2021-09-20T19:40:12.000Z","updated":"2026-10-20T10:52:57.353369331Z","reserved":"2020-10-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":10,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["mscdex ssh2"],"affectedProducts":[{"vendor":"mscdex","product":"ssh2","defaultStatus":null,"versions":[{"status":"affected","version":"< 1.4.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"ssh2","purl":"pkg:npm/ssh2","ranges":["<1.4.0"],"fixed":["1.4.0"],"advisory":"GHSA-652h-xwhf-q4h6"}],"cwes":["CWE-78"],"aliases":["GHSA-652h-xwhf-q4h6"],"references":[{"url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix"]},{"url":"https://www.npmjs.com/package/ssh2","tags":["x_refsource_MISC","x_transferred","Product","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301","tags":["advisory"]},{"url":"https://github.com/mscdex/ssh2","tags":["package"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03832,"epssPercentile":0.90322,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-26301","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-26301","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-652h-xwhf-q4h6","ok":true,"note":"GHSA-652h-xwhf-q4h6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-26301","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}