All vulnerabilities

npm

CVE-2026-58192

appium allows unauthenticated arbitrary file/directory deletion in @appium/storage-plugin

Severity
High 8.6
Published
20 Nov 2026
Last changed
20 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.1.6
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)CWE-73
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Also known as
GHSA-jwgx-mp9m-jwcr
Sources
OSV.dev and GitHub

Description

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.

Published build (node_modules/@appium/storage-plugin/build/lib/storage.js), and source (packages/storage-plugin/lib/):

  • packages/storage-plugin/lib/storage.ts:65-75 — Storage.delete():
  • packages/storage-plugin/lib/plugin.ts:77-83 — handler passes raw body:
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
@appium/storage-pluginnpm · osv:npm:@appium/storage-plugin
  • Every version before 1.1.6

About @appium/storage-plugin

Weekly downloads (npm)
745npm, 24 Nov 2026

This is the only vulnerability in @appium/storage-plugin in our list.

References