CVE-2021-45459
Command Injection in node-windows
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
CVE-2021-45459- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-77
- Updated
- 2026-11-02
CVE List No score
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
CVE-2021-45459- Updated
- 2026-11-02
EUVDEUVD-2022-0452 No score
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
EUVD-2022-0452- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-53xv-c2hx-5w6q
9.8
Command Injection in node-windows
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
GHSA-53xv-c2hx-5w6q- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSV
9.8
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
CVE-2021-45459- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-53xv-c2hx-5w6q
9.8
Command Injection in node-windows
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
- Record
GHSA-53xv-c2hx-5w6q- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
node-windowsnpm |
through 1.0.0-beta.5 | 1.0.0-beta.6 |
node-windowsnpm |
before 1.0.0-beta.6 | 1.0.0-beta.6 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-45459 is a critical vulnerability (CVSS 9.8) in Node-windows Project Node-windows, published December 22, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.06%, the 90th percentile. Fixed in node-windows 1.0.0-beta.6.
References
github.com/coreybutler/node-windows/compare/1.0.0-beta.5...1.0.0-beta.6
github.com/dwisiswant0/advisory/issues/4
security.netapp.com/advisory/ntap-20220107-0004
nvd.nist.gov/vuln/detail/CVE-2021-45459
advisory.dw1.io/4
github.com/coreybutler/node-windows/commit/a379d31366edbd7a672a981e6c09e185ab448dd3
github.com/advisories/GHSA-53xv-c2hx-5w6q
github.com/coreybutler/node-windows