OS command injection in node-prompt-here
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | node-prompt-here | All versions including 1.0.1 | — | No fix listed | CNA |
| — | node-prompt-here (npm) | up to 1.0.1 | — | No fix listed | GHSA-f8fh-8rgm-227h |
- node-prompt-here Vendor— Affected All versions including 1.0.1 Fixed in — No fix listed CNA
- node-prompt-here (npm) Vendor— Affected up to 1.0.1 Fixed in — No fix listed GHSA-f8fh-8rgm-227h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:* | up to 1.0.1 | Vulnerable | Node-prompt-here Project |
- cpe:2.3:a:node-prompt-here_project:node-prompt-here:*:*:*:*:*:node.js:*:* Versions up to 1.0.1 Vulnerable ·Node-prompt-here Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7602
- 2026-10-03 Alias added: GHSA-f8fh-8rgm-227h
References
Sources
- CVE-2020-7602 · CVE Program
- CVE-2020-7602 · NVD
- FIRST EPSS
- GHSA-f8fh-8rgm-227h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences