Skip to content
High 8.6

Path Traversal in Appium

CVE-2026-58192 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2026-58192 has been found in Appium.
Attackers can target a specific entry point like POST /storage/delete over the network to misuse the product.
Data can be tampered with by attackers. CVSS score: 8.6/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Appium CVE-2026-58192" on the vendor's site.

CVE-2026-58192 (Appium) — CWE-22 / CVSS v3 8.6
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Attack surface: POST /storage/delete
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

Path traversal (CWE-22) exists in Appium. Attackers reach the vulnerable code path via POST /storage/delete without authentication.

Affected scope

Check the vendor advisory for the affected versions of Appium. Attack surface: POST /storage/delete.

Severity

Severity: High (CVSS 8.6/10). Data can be tampered with by attackers.

How to fix

Update to the patched release per vendor advisory.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual POST /storage/delete requests with malformed payloads or SQL meta-characters. Run grep -r 'Appium' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'Appium' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で Appium を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Hunt for indicators of compromisedetect
    grep 'POST /storage/delete' /var/log/nginx/access.log | grep -E '(unusual_payload|sqli_pattern)'

    アクセスログで POST /storage/delete への異常なリクエスト (不正な認証ヘッダ・SQLメタ文字)を過去 30〜90日分捜索。WAF/SIEM があれば該当パスのアラート発火履歴を確認。

  3. 3
    Post-deployment verificationverify
    Replay attack against POST /storage/delete on staging to confirm patch closes the vector

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番では Step 2 と同じログクエリでアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
npm@appium/storage-plugin
< 1.1.6→ 1.1.6
Original description The description as published by the source.

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 (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():
    async delete(name: string): Promise {
      if (name.toLowerCase().endsWith(TMP_EXT)) {
        return false;
      }
      const destinationPath = path.join(this._root, name);   // <-- no sanitization
      if (!(await fs.exists(destinationPath))) {
        return false;
      }
      await fs.rimraf(destinationPath);                       // <-- recursive delete
      return true;
    }
    
  • packages/storage-plugin/lib/plugin.ts:77-83 — handler passes raw body:
    STORAGE_HANDLERS.deleteStorageItem = async function deleteStorageItem(req) {
      return…
    

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details