lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
Priority MEDIUM 49CWE-77Published · Updated
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
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
lib/cmd.js in the node-windows package before 1.0.0-beta.6 for Node.js allows command injection via the PID parameter.
Why it matters now
EPSS 0.04062 90th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed node-windows (npm): 1.0.0-beta.6
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 |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | node-windows (npm) | before 1.0.0-beta.6 | 1.0.0-beta.6 | Patch available | GHSA-53xv-c2hx-5w6q |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- node-windows (npm) Vendor— Affected before 1.0.0-beta.6 Fixed in 1.0.0-beta.6 Patch available GHSA-53xv-c2hx-5w6q
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:node-windows_project:node-windows:*:*:*:*:*:node.js:*:* | up to 0.1.14 | Vulnerable | Node-windows Project |
| cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta1:*:*:*:node.js:*:* | 1.0.0 beta1 | Vulnerable | Node-windows Project |
| cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta2:*:*:*:node.js:*:* | 1.0.0 beta2 | Vulnerable | Node-windows Project |
| cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta3:*:*:*:node.js:*:* | 1.0.0 beta3 | Vulnerable | Node-windows Project |
| cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta4:*:*:*:node.js:*:* | 1.0.0 beta4 | Vulnerable | Node-windows Project |
| cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta5:*:*:*:node.js:*:* | 1.0.0 beta5 | Vulnerable | Node-windows Project |
- cpe:2.3:a:node-windows_project:node-windows:*:*:*:*:*:node.js:*:* Versions up to 0.1.14 Vulnerable ·Node-windows Project
- cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta1:*:*:*:node.js:*:* Versions 1.0.0 beta1 Vulnerable ·Node-windows Project
- cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta2:*:*:*:node.js:*:* Versions 1.0.0 beta2 Vulnerable ·Node-windows Project
- cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta3:*:*:*:node.js:*:* Versions 1.0.0 beta3 Vulnerable ·Node-windows Project
- cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta4:*:*:*:node.js:*:* Versions 1.0.0 beta4 Vulnerable ·Node-windows Project
- cpe:2.3:a:node-windows_project:node-windows:1.0.0:beta5:*:*:*:node.js:*:* Versions 1.0.0 beta5 Vulnerable ·Node-windows Project
Remediation
- Fix · GHSA-53xv-c2hx-5w6q node-windows (npm) Fixed in 1.0.0-beta.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45459
- 2026-10-03 Alias added: GHSA-53xv-c2hx-5w6q
References
Advisory 2
Sources
- CVE-2021-45459 · CVE Program
- CVE-2021-45459 · NVD
- FIRST EPSS
- GHSA-53xv-c2hx-5w6q · 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