{"api_version":"1","generated_at":"2026-04-22T19:06:22+00:00","cve":"CVE-2020-26301","urls":{"html":"https://cve.report/CVE-2020-26301","api":"https://cve.report/api/cve/CVE-2020-26301.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-26301","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301"},"summary":{"title":"CVE-2020-26301","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-09-20 20:15:00","updated_at":"2021-10-01 13:55:00"},"problem_types":["CWE-78"],"metrics":[],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","name":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","refsource":"CONFIRM","tags":[],"title":"GHSL-2020-123: Command injection in mscdex/ssh2 - CVE-2020-26301 | GitHub Security Lab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.npmjs.com/package/ssh2","name":"https://www.npmjs.com/package/ssh2","refsource":"MISC","tags":[],"title":"ssh2  -  npm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","name":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","refsource":"MISC","tags":[],"title":"examples,lib,test: switch to code rewrite · mscdex/ssh2@f763271 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-26301","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26301","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"26301","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"microsoft","cpe5":"windows","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"26301","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ssh2_project","cpe5":"ssh2","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-26301","qid":"980823","title":"Nodejs (npm) Security Update for ssh2 (GHSA-652h-xwhf-q4h6)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-26301","STATE":"PUBLIC","TITLE":"Command injection in mscdex/ssh2"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"ssh2","version":{"version_data":[{"version_value":"< 1.4.0"}]}}]},"vendor_name":"mscdex"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-78 OS Command Injection"}]}]},"references":{"reference_data":[{"name":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21","refsource":"MISC","url":"https://github.com/mscdex/ssh2/commit/f763271f41320e71d5cbee02ea5bc6a2ded3ca21"},{"name":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/","refsource":"CONFIRM","url":"https://securitylab.github.com/advisories/GHSL-2020-123-mscdex-ssh2/"},{"name":"https://www.npmjs.com/package/ssh2","refsource":"MISC","url":"https://www.npmjs.com/package/ssh2"}]},"source":{"advisory":"GHSL-2020-123","discovery":"INTERNAL"}},"nvd":{"publishedDate":"2021-09-20 20:15:00","lastModifiedDate":"2021-10-01 13:55:00","problem_types":["CWE-78"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":7.5},"severity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.4.0","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"26301","Ordinal":"187723","Title":"CVE-2020-26301","CVE":"CVE-2020-26301","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"26301","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"26301","Ordinal":"2","NoteData":"2021-09-20","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"26301","Ordinal":"3","NoteData":"2021-09-20","Type":"Other","Title":"Modified"}]}}}