Live threats

All CVEs / Node-windows Project

CVE-2021-45459Node-windows Project Node-windows

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Node-windows.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
node-windows_projectnode-windows≤ 0.1.14
node-windows_projectnode-windows1.0.0
node-windows_projectnode-windows1.0.0
node-windows_projectnode-windows1.0.0
node-windows_projectnode-windows1.0.0
node-windows_projectnode-windows1.0.0

Official sources

References

Links published by the sources. Open them with care.