CVE-2022-29842: Command Injection Vulnerability in Western Digital My Cloud devices

CVE-2022-29842 affects 8 listed versions of Western Digital My Cloud OS in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
2%EPSS (next 30 days)
10 May 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Western Digital My Cloud OS

8 of 12 listed versions are affected. Fixed in 5.26.119. The newest release, 5.27.161, is not affected.

5.25.132 5.25.124 5.19.117 5.10.122 5.07.118 5.06.115 5.02.104 4.21.0

What it is

Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability that could allow an attacker to execute code in the context of the root user on a vulnerable CGI file was discovered in Western Digital My Cloud OS 5 devicesThis issue affects My Cloud OS 5: before 5.26.119.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Wdc Psirt on 10 May 2023. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2022-29842 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.