BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2022-29841 in Westerndigital My Cloud Os 5 and 11 more products

Critical 9.8

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

Affects 12 products from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS1.8%
EPSS percentile79th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Westerndigital My Cloud Os 5 < 5.26.119 ≥ 5.02.104, < 5.26.119
Westerndigital My Cloud Os ≥ 5.02.104, < 5.26.119

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Westerndigital My Cloud Pr4100, Westerndigital My Cloud, Westerndigital My Cloud Ex2 Ultra, Westerndigital My Cloud Ex2100, Westerndigital My Cloud Ex4100, Westerndigital My Cloud Dl2100, Westerndigital My Cloud Dl4100, Westerndigital My Cloud Pr2100, Westerndigital Wd Cloud, Westerndigital My Cloud Mirror G2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-29841
BreachSpider IDBS-2023-GLOBAL-174632-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-05-10
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical OS Command Injection vulnerability in Western Digital My Cloud OS 5 devices allows remote attackers to execute arbitrary commands and gain a reverse shell by exploiting improper neutralization of special elements in OS commands.

The vulnerability arises from a command that reads files from a privileged location and constructs a system command without sanitizing the read data. An attacker can craft input to trigger this command, leading to code execution and potential unauthorized access.

Questions

What is CVE-2022-29841?

A critical OS Command Injection vulnerability in Western Digital My Cloud OS 5 devices allows remote attackers to execute arbitrary commands and gain a reverse shell by exploiting improper neutralization of special elements in OS commands.

What is the CVSS score for CVE-2022-29841?

CVE-2022-29841 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.8%.

Is CVE-2022-29841 actively exploited?

No confirmed active exploitation of CVE-2022-29841 as of 2026-09-25.

How do I remediate CVE-2022-29841?

Priority: IMMEDIATE. Advisory: https://www.westerndigital.com/support/product-security/wdc-23002-my-cloud-firmware-version-5-26-119 PSIRT: [email protected]

What systems are affected by CVE-2022-29841?

CVE-2022-29841 affects Westerndigital My Cloud Os 5, My Cloud Os.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Westerndigital","product":"My Cloud Os 5","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.