CVE-2023-22816 in Westerndigital My Cloud Os 5 and 11 more products
A post-authentication remote command injection vulnerability in a CGI file in Western Digital My Cloud OS 5 devices that could allow an attacker to build files with redirects and execute larger payloads. This issue affects My Cloud OS 5 devices: before 5.26.300.
Affects 12 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Westerndigital | My Cloud Os 5 | < 5.26.300 |
| Westerndigital | My Cloud Os | < 5.26.300 |
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
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A post-authentication remote command injection vulnerability in a CGI file in Western Digital My Cloud OS 5 devices that could allow an attacker to build files with redirects and execute larger payloads. This issue affects My Cloud OS 5 devices: before 5.26.300.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-22816 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-328924-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2023-06-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-77: Command Injection
Attacker injects operating system commands through application inputs passed to a shell or system call.
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-77, CWE-78
CAPEC-76 Manipulating Web Input to File System Calls via CWE-77
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-77, CWE-78
Show all 11
CAPEC-40 Manipulating Writeable Terminal Devices via CWE-77
CAPEC-75 Manipulating Writeable Configuration Files via CWE-77
CAPEC-88 OS Command Injection via CWE-78
CAPEC-136 LDAP Injection via CWE-77
CAPEC-183 IMAP/SMTP Command Injection via CWE-77
CAPEC-248 Command Injection via CWE-77
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A post-authentication remote command injection vulnerability in a CGI file in Western Digital My Cloud OS 5 devices allows attackers to execute arbitrary commands, potentially leading to full system compromise.
An attacker with valid credentials can exploit this vulnerability by sending specially crafted requests to the affected CGI file, which can lead to command execution on the device.
Questions
What is CVE-2023-22816?
A post-authentication remote command injection vulnerability in a CGI file in Western Digital My Cloud OS 5 devices allows attackers to execute arbitrary commands, potentially leading to full system compromise.
What is the CVSS score for CVE-2023-22816?
CVE-2023-22816 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.
Is CVE-2023-22816 actively exploited?
No confirmed active exploitation of CVE-2023-22816 as of 2026-09-25.
How do I remediate CVE-2023-22816?
Priority: IMMEDIATE. Advisory: https://www.westerndigital.com/support/product-security/wdc-23010-my-cloud-firmware-version-5-26-300 PSIRT: [email protected]
What systems are affected by CVE-2023-22816?
CVE-2023-22816 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"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.