CVE-2017-18181: Arbitrary File Deletion in Western Digital My Cloud nas_sharing.cgi
CVE-2017-18181 is an arbitrary file deletion vulnerability in the nas_sharing.cgi CGI component of Western Digital My Cloud personal cloud storage devices prior to firmware version 2.30.172. The vulnerable CGI binary accepts a path parameter that can be used to target files on the device for deletion without proper restriction or authorization enforcement. As a result, an attacker can cause deletion of arbitrary files on the underlying system, which can affect device integrity and availability and may contribute to broader device compromise when combined with other weaknesses.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to delete arbitrary files from the affected device. This can disrupt normal operation, corrupt configuration or application state, remove critical system files, and potentially render the device unstable or unusable. In operational contexts, arbitrary file deletion may also facilitate follow-on compromise by disabling protections, destroying logs, or preparing the system for additional exploitation.
Mitigation
If you can’t patch tonight, do this now.
Apply the vendor firmware update to version 2.30.172 or the latest available release. No separate temporary workaround or compensating control is specifically documented. Where immediate patching is not possible, reduce exposure of the management interface to untrusted networks and restrict access to trusted administrators only, though patching is the primary corrective action.
Remediation
Patch, then assume compromise.
Upgrade affected Western Digital My Cloud devices to firmware version 2.30.172 or later. Affected product lines include My Cloud Gen 2, My Cloud PR2100, My Cloud PR4100, My Cloud EX2 Ultra, My Cloud EX2, My Cloud EX4, My Cloud EX2100, My Cloud EX4100, My Cloud DL2100, and My Cloud DL4100.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2017-18181 exploited in the wild?
- As of Aug 20, 2026, Mallory has no reports of CVE-2017-18181 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-18181?
- As of Aug 20, 2026, Mallory has found no public exploit for CVE-2017-18181.
- Is there a patch for CVE-2017-18181?
- Upgrade affected Western Digital My Cloud devices to firmware version 2.30.172 or later. Affected product lines include My Cloud Gen 2, My Cloud PR2100, My Cloud PR4100, My Cloud EX2 Ultra, My Cloud EX2, My Cloud EX4, My Cloud EX2100, My Cloud EX4100, My Cloud DL2100, and My Cloud DL4100.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.