All CVEs / Node-windows Project
CVE-2021-45459Node-windows Project Node-windows
Critical 9.8 No auth needed
Follow: this CVE · Node-windows Project · Node-windows Project Node-windows We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.1% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Dec 22, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
What to do
- Apply the vendor's security update for Node-windows.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | node-windows |
< 1.0.0-beta.6 |
1.0.0-beta.6 |
npm install node-windows@1.0.0-beta.6 |
Per OSV / GitHub Advisories (GHSA-53xv-c2hx-5w6q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| node-windows_project | node-windows | ≤ 0.1.14 |
| node-windows_project | node-windows | 1.0.0 |
| node-windows_project | node-windows | 1.0.0 |
| node-windows_project | node-windows | 1.0.0 |
| node-windows_project | node-windows | 1.0.0 |
| node-windows_project | node-windows | 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Patch
- security.netapp.com Third Party Advisory