My Cloud OsOperating system · Westerndigital

CVE-2022-29841

CRITICAL · 9.8 CVSS v3.1 Published 2023-05-10
Fix available
A fix is available. Upgrade to 5.26.119 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

OS command injection vulnerability in Western Digital My Cloud OS 5 devices. A command reads files from a privileged location and constructs a system command without sanitizing the read data, allowing remote attackers to execute arbitrary code and obtain a reverse shell.

MitigationUpgrade My Cloud OS 5 devices to version 5.26.119 or later to patch the command injection vulnerability.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
My Cloud OsOperating system
Affected:>= 5.02.104, < 5.26.119

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check My Cloud OS 5 firmware version
    Log into the My Cloud device web UI and navigate to Settings > About, or run `cat /etc/version` via SSH to retrieve the installed firmware version
    Affected if The installed version is greater than or equal to 5.02.104 AND less than 5.26.119
  2. Verify the device is running My Cloud OS 5
    Confirm the device model and OS version by checking the web UI header or running `cat /etc/model` to ensure it is a My Cloud OS 5 device and not an older OS version
    Affected if The device runs My Cloud OS 5 with version in the affected range
  3. Check if remote access features are enabled
    Inspect the device network settings via the web UI under Settings > Network > Remote Access, or check `/etc/smb.conf` for enabled shares and remote access configurations
    Affected if Remote access, cloud access, or external-facing services are enabled on a vulnerable version

A user is affected if their My Cloud OS 5 device firmware version falls within the range 5.02.104 to 5.26.119 (inclusive of the lower bound, exclusive of the upper bound).

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 5.26.119 or later
Fixed in 5.26.119
Interim mitigation

Upgrade My Cloud OS 5 devices to version 5.26.119 or later to patch the command injection vulnerability.

Recommended fix High confidence

My Cloud OS 5 version 5.26.119 or later

  1. 1. Log into the Western Digital My Cloud OS 5 device admin interface
  2. 2. Navigate to Settings or System settings
  3. 3. Check the current firmware version under About or System Information
  4. 4. If the version is < 5.26.119, locate the firmware update option
  5. 5. Download and install firmware version 5.26.119 or later from the official Western Digital support site
  6. 6. Verify the update was successful by checking the firmware version after reboot

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in My Cloud Os Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing2.0 h
  • Review / QA1.0 h
7.0 hours of engineering $1,240
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2022-29841 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2022-29841 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data