# CVE-2024-22169: Misconfiguration in node.js causing a code execution in WD Discovery

- Severity: High 7.1 (CVSS:4.0, scored by WDC PSIRT) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-08-02T18:31:11.324Z
- Modified: 2026-06-17T07:10:52.247Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: WDC PSIRT

## 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.

(As written by CVE List.)

## Affected

- Western Digital WD Discovery: before 5.0.589
- westerndigital wd_discovery: before 5.0.589

## References

- <https://www.westerndigital.com/support/product-security/wdc-24004-wd-discovery-desktop-app-version-5-0-589>

## Sources

- CVE List: [CVE-2024-22169](https://www.cve.org/CVERecord?id=CVE-2024-22169), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2024-22169](https://nvd.nist.gov/vuln/detail/CVE-2024-22169), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-22169 · Whole record: https://cve.day/CVE-2024-22169.json · Rebuilt by cve.day 2026-11-25T22:58:43.574Z
