CVE-2023-22815 in Westerndigital My Cloud Os 5 and 11 more products
Post-authentication remote command injection vulnerability in Western Digital My Cloud OS 5 devices that could allow an attacker to execute code in the context of the root user on vulnerable CGI files. This vulnerability can only be exploited over the network and the attacker must already have admin/root privileges ...
Affects 12 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, 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
Post-authentication remote command injection vulnerability in Western Digital My Cloud OS 5 devices that could allow an attacker to execute code in the context of the root user on vulnerable CGI files. This vulnerability can only be exploited over the network and the attacker must already have admin/root privileges to carry out the exploit. An authentication bypass is required for this exploit, thereby making it more complex. The attack may not require user interaction. Since an attacker must already be authenticated, the confidentiality impact is low while the integrity and availability impact is high. This issue affects My Cloud OS 5 devices: before 5.26.300.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-22815 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-057774-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/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 Western Digital My Cloud OS 5 devices allows an attacker to execute code as the root user on vulnerable CGI files, requiring admin/root privileges and an authentication bypass.
The vulnerability is exploited by sending specially crafted requests to vulnerable CGI files on the device. The attacker must first bypass authentication to gain admin/root privileges, then can execute arbitrary commands with root privileges over the network.
Questions
What is CVE-2023-22815?
A post-authentication remote command injection vulnerability in Western Digital My Cloud OS 5 devices allows an attacker to execute code as the root user on vulnerable CGI files, requiring admin/root privileges and an authentication bypass.
What is the CVSS score for CVE-2023-22815?
CVE-2023-22815 has CVSS 6.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H. EPSS: 1.8%.
Is CVE-2023-22815 actively exploited?
No confirmed active exploitation of CVE-2023-22815 as of 2026-09-25.
How do I remediate CVE-2023-22815?
Priority: HIGH. 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-22815?
CVE-2023-22815 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.