CVE-2026-58192: appium allows unauthenticated arbitrary file/directory deletion in @appium/storage-plugin
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.
References
- github.com/advisories/GHSA-jwgx-mp9m-jwcr
- github.com/appium/appium/commit/5fee01752f2782e96fbe64fd13520b433d4a7535
- github.com/appium/appium/pull/22362
- github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6
- github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr
- nvd.nist.gov/vuln/detail/CVE-2026-58192
Code Behaviors & Features
Detect and mitigate CVE-2026-58192 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →