Aviso preliminar: se publicó de inmediato con los datos originales de las fuentes, sin redacción editorial. En breve se reemplaza por una versión redactada y revisada.
Resumen
CVE-2026-58192: vulnerabilidad de severidad alta (CVSS 8.6) en @appium/storage-plugin.
Qué ocurre
Descripción original de la fuente (en inglés): ## 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()`: ```ts async delete(name: string): Promise<boolean> { 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: ```ts STORAGE_HANDLERS.deleteStorageItem = async function deleteStorageItem(req) { return await executeStorageMethod( async (storage) => await storage.delete(parseRequestArgs(req, ['name']).name), ); }; ``` `parseRequestArgs` (`plugin.ts:94-106`) only checks that the key exists; it does **not** validate the value. - Contrast — the upload path *does* sanitize: `s…
Por qué importa
Severidad alta, CVSS 8.6.
Productos y versiones afectados
@appium/storage-plugin < 1.1.6 (corregido en 1.1.6)
| Producto | Versiones | Corregido en |
|---|---|---|
| @appium/storage-plugin | < 1.1.6 | 1.1.6 |
Acción recomendada por la fuente
Actualizar a una versión corregida: 1.1.6.
Corregido en: 1.1.6
Fuentes y referencias
- https://github.com/advisories/GHSA-jwgx-mp9m-jwcr — GHSA
- https://github.com/appium/appium/security/advisories/GHSA-jwgx-mp9m-jwcr — GHSA
- https://nvd.nist.gov/vuln/detail/CVE-2026-58192 — GHSA
- https://github.com/appium/appium/pull/22362 — GHSA
- https://github.com/appium/appium/commit/5fee01752f2782e96fbe64fd13520b433d4a7535 — GHSA
- https://github.com/appium/appium/releases/tag/%40appium/storage-plugin%401.1.6 — GHSA
- https://github.com/appium/appium — OSV
Debilidades (CWE): CWE-22, CWE-73
Historial de cambios relevantes
Publicado
Aviso preliminar publicado.