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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | node-prompt-here | All versions including 1.0.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
dannyEndorTest/node-prompt-here ★ 0 · May 20, 2026
EXPOSURE demo target (node-prompt-here) — HOT baseline for CVE-2020-7602. See README.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | node-prompt-here | <= 1.0.1 | — | GHSA-f8fh-8rgm-227h |