Improper input validation in Tauri Plugin-Shell
CVE-2025-31477
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.010 (62.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 62nd percentile — 62.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Tauri Plugin-Shell
- Tauri-Apps Plugins-Workspace — versions < 2.2.1
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-31477?
- CVE-2025-31477 is a critical-severity vulnerability in Tauri Plugin-Shell, classified under Improper Input Validation. CVSS score: 9.8/10. Published 2025-04-02.
- How severe is CVE-2025-31477?
- Critical severity. CVSS v3 base score is 9.8 out of 10.