Amenazas en vivo

Todas las CVE / Tauri

CVE-2025-31477Tauri Plugin-shell

Crítica 9.3 Sin autenticación

Prioridad
71
CVSS 4.0
9.3
EPSS
—
Requiere autenticación
No
Publicada
2 abr 2025
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-20
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: total
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Qué pasa

The Tauri shell plugin allows access to the system shell. Prior to 2.2.1, the Tauri shell plugin exposes functionality to execute code and open programs on the system. The open endpoint of this plugin is designed to allow open functionality with the system opener (e.g. xdg-open on Linux). This was meant to be restricted to a reasonable number of protocols like https or mailto by default. This default restriction was not functional due to improper validation of the allowed protocols, allowing for potentially dangerous protocols like file://, smb://, or nfs:// and others to be opened by the system registered protocol handler. By passing untrusted user input to the open endpoint these potentially dangerous protocols can be abused to gain remote code execution on the system. This either requires direct exposure of the endpoint to application users or code execution in the frontend of a Tauri application. This vulnerability is fixed in 2.2.1.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Plugin-shell.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
crates.io tauri-plugin-shell < 2.2.1 2.2.1 cargo update -p tauri-plugin-shell --precise 2.2.1
npm @tauri-apps/plugin-shell < 2.2.1 2.2.1 npm install @tauri-apps/plugin-shell@2.2.1

Según OSV / GitHub Advisories (GHSA-c9pr-q8gx-3mgp). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
tauriplugin-shell< 2.2.1
tauriplugin-shell< 2.2.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.