All reports
Critical

OS Command Injection in node-prompt-here

Affected versions

Affected versions
<= 1.0.1
Fixed version
Not reported

Exploitation

CVE-2020-7602

Probability of exploitation in the next 30 days: 2.67%

FIRST EPSS · 2026-11-21

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.

Links