Improper Scope Validation in the open Endpoint of tauri-plugin-shell
Published Apr 2, 2025
9.3
CRITICALCVSS 4.0
EPSS 1.02%
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.
Affected products
-
- Version < 2.2.1StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Tauri-Apps | Plugins-Workspace | n/a |
|
Configuration 1
- < 2.2.1
Configuration 2
- < 2.2.1
No data.
No Red Hat product state for this CVE.
tauri-plugin-shell
crates.io
Introduced 0 Fixed 2.2.1@tauri-apps/plugin-shell
npm
Introduced 0 Fixed 2.2.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | tauri-plugin-shell | 0 | 2.2.1 |
| npm | @tauri-apps/plugin-shell | 0 | 2.2.1 |
Remediation
No remediation recorded yet.
Metrics
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
1 other source (NVD) ▾
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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
TotalDecision
n/aAssessed Apr 3, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (7 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.02% (0.01021) | 62.10th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.82% (0.00821) | 52.30th | v5 (v2026.06.15) |
| May 13, 2026 | 2.40% (0.02401) | 85.21th | v4 (v2025.03.14) |
| May 11, 2026 | 5.10% (0.05105) | 89.89th | v4 (v2025.03.14) |
| Jan 27, 2026 | 3.97% (0.03970) | 88.07th | v4 (v2025.03.14) |
| Dec 17, 2025 | 1.52% (0.01519) | 80.77th | v4 (v2025.03.14) |
| Apr 3, 2025 | 0.45% (0.00447) | 60.70th | v4 (v2025.03.14) |
References (4)
- https://github.com/advisories/GHSA-c9pr-q8gx-3mgp Advisory
- https://github.com/tauri-apps/plugins-workspace/commit/9cf0390a52497e273db1a1b613a0e26827aa327c x_refsource_MISCPatch
- https://github.com/tauri-apps/plugins-workspace/security/advisories/GHSA-c9pr-q8gx-3mgp exploitx_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-31477
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-c9pr-q8gx-3mgp | Advisory | |
| https://github.com/tauri-apps/plugins-workspace/commit/9cf0390a52497e273db1a1b613a0e26827aa327c | x_refsource_MISCPatch | |
| https://github.com/tauri-apps/plugins-workspace/security/advisories/GHSA-c9pr-q8gx-3mgp | exploitx_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31477 |
Change history (0)
No recorded changes yet.