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.
Metrics
Affected Vendors & Products
References
History
Tue, 29 Apr 2025 14:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Tauri
Tauri plugin-shell |
|
Weaknesses | NVD-CWE-noinfo | |
CPEs | cpe:2.3:a:tauri:plugin-shell:*:*:*:*:*:node.js:*:* cpe:2.3:a:tauri:plugin-shell:*:*:*:*:*:rust:*:* |
|
Vendors & Products |
Tauri
Tauri plugin-shell |
|
Metrics |
cvssV3_1
|
Thu, 03 Apr 2025 14:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Wed, 02 Apr 2025 21:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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. | |
Title | Improper Scope Validation in the open Endpoint of tauri-plugin-shell | |
Weaknesses | CWE-20 | |
References |
| |
Metrics |
cvssV4_0
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2025-04-02T21:10:14.264Z
Updated: 2025-04-03T13:59:36.712Z
Reserved: 2025-03-28T13:36:51.297Z
Link: CVE-2025-31477

Updated: 2025-04-03T13:58:41.865Z

Status : Analyzed
Published: 2025-04-02T22:15:20.420
Modified: 2025-04-29T13:30:57.947
Link: CVE-2025-31477

No data.