appium allows unauthenticated arbitrary file/directory deletion in @appium/storage-plugin
CVE-2026-58192
Summary The Appium storage plugin exposes an HTTP endpoint POST /storage/delete that takes a user-supplied name and deletes it from the server storage folder. The handler passes name straight into path.join(storageRoot, name) and then fs.rimraf() without any path sanitization. By sending a name containing ../ sequences, an unauthenticated remote client can escape the storage root and recursively delete arbitrary files and directories that the Appium process user can write, anywhere on the host filesystem. The same plugin's upload path validates the name via fs.sanitizeName (requireValidItemOptions), but the delete path does not an asymmetry that makes the missing validation unambiguous. Details Published build (nodemodules/@appium/storage-plugin/build/lib/storage.js), and source (packages/storage-plugin/lib/): packages/storage-plugin/lib/storage.ts:65-75 — Storage.delete(): ts async delete(name: string): Promise { if (name.toLowerCase().endsWith(TMPEXT)) { return false; } const destinationPath = path.join(this.root, name); // await storage.delete(parseRequestArgs(req, ['name']).name), ); }; parseRequestArgs (plugin.ts:94-106) only checks that the key exists; it does not validate…
Assessment
- CVSS
- 8.6 (v3.1)
- Severity
- High
- EPSS
- 0.00636% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 20 November 2026
- Last updated
- 20 November 2026
- Affected
- @appium/storage-plugin
- Weakness
- CWE-22, CWE-73
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
At the source
References
- https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr
- https://nvd.nist.gov/vuln/detail/CVE-2026-58192
- https://github.com/appium/appium/pull/22362
- https://github.com/appium/appium/commit/5fee01752f2782e96fbe64fd13520b433d4a7535
- https://github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6
- https://github.com/advisories/GHSA-jwgx-mp9m-jwcr
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-58192