What’s Vulnerable › Vulnerabilities
CVE-2024-22169: Misconfiguration in node.js causing a code execution in WD Discovery
- Severity: high (CVSS 7.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-02 · updated 2026-06-17
- Weakness: CWE-94
Description
WD Discovery versions prior to 5.0.589 contain a misconfiguration in the Node.js environment settings that could allow code execution by utilizing the 'ELECTRON_RUN_AS_NODE' environment variable. Any malicious application operating with standard user permissions can exploit this vulnerability, enabling code execution within WD Discovery application's context. WD Discovery version 5.0.589 addresses this issue by disabling certain features and fuses in Electron. The attack vector for this issue requires the victim to have the WD Discovery app installed on their device.
Affected products
- Western Digital WD Discovery: before 5.0.589 — fixed in 5.0.589
How to fix
Upgrade to a fixed version: Western Digital WD Discovery 5.0.589. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2024-22169 or the next vulnerability affects your stack