{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-7602","id":"CVE-2020-7602","title":"OS Command Injection in node-prompt-here","description":"node-prompt-here through 1.0.1 allows execution of arbitrary commands. The \"runCommand()\" is called by \"getDevices()\" function in file \"linux/manager.js\", which is required by the \"index. process.env.NM_CLI\" in the file \"linux/manager.js\". This function is used to construct the argument of function \"execSync()\", which can be controlled by users without any sanitization.","descriptionLong":"node-prompt-here through 1.0.1 allows execution of arbitrary commands. The \"runCommand()\" is called by \"getDevices()\" function in file \"linux/manager.js\", which is required by the \"index. process.env.NM_CLI\" in the file \"linux/manager.js\". This function is used to construct the argument of function \"execSync()\", which can be controlled by users without any sanitization.","published":"2020-03-15T21:26:22.000Z","updated":"2026-10-24T10:30:57.943893303Z","reserved":"2020-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","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":"critical","products":["node-prompt-here"],"affectedProducts":[{"vendor":"n/a","product":"node-prompt-here","defaultStatus":null,"versions":[{"status":"affected","version":"All versions including 1.0.1"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"node-prompt-here","purl":"pkg:npm/node-prompt-here","ranges":["<=1.0.1"],"fixed":[],"advisory":"GHSA-f8fh-8rgm-227h"}],"cwes":["CWE-78"],"aliases":["GHSA-f8fh-8rgm-227h","SNYK-JS-NODEPROMPTHERE-560115"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NODEPROMPTHERE-560115","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7602","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0267,"epssPercentile":0.86052,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-7602","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7602","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-7602","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f8fh-8rgm-227h","ok":true,"note":"GHSA-f8fh-8rgm-227h"},{"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-7602","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}