The Tauri shell plugin allows access to the system shell. Prior to 2.2.1, the Tauri shell plugin exposes…
Historical advisory recorded 25 Oct 2026 02:24:48 UTC. Read the latest advisory.
nvd · CVE-2025-31477
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2025-31477
PublishedNVD 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.
Source analysis status: Analyzed
Weakness classifications: CWE-20 · NVD-CWE-noinfo
Original publisher date fields
published: 2025-04-02T22:15:20.420
lastModified: 2026-06-17T09:10:28.230
2 source CPE criteria · context only
- cpe:2.3:a:tauri:plugin-shell:*:*:*:*:*:rust:*:*
- cpe:2.3:a:tauri:plugin-shell:*:*:*:*:*:node.js:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON