CVE-2022-29841: OS Command Injection vulnerability in Western Digital My Cloud devices

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

9.8CVSS critical
None knownexploitation
1%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 an OS Command ('OS Command Injection') vulnerability that was caused by a command that read files from a privileged location and created a system command without sanitizing the read data. This command could be triggered by an attacker remotely to cause code execution and gain a reverse shell in Western Digital My Cloud OS 5 devices.This 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-29841 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.