CVE-2025-31477 — Improper Scope Validation in...
Improper Scope Validation in the `open` Endpoint of `tauri-plugin-shell`
Summary
Advisory Timeline
- First published April 2, 2025 (557 days ago).
- Last revised September 10, 2026 — 525 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install @tauri-apps/plugin-shell@2.2.1
cargo update -p tauri-plugin-shell --precise 2.2.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: crates.io (1), npm (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| @tauri-apps/plugin-shell | npm | All versions | 2.2.1 |
| tauri-plugin-shell | crates.io | All versions | 2.2.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is CVE-2025-31477?
- Improper Scope Validation in the `open` Endpoint of `tauri-plugin-shell` This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-31477?
- CVE-2025-31477 affects @tauri-apps/plugin-shell and tauri-plugin-shell. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-31477 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107722CRITICAL
fast-jwt: Incomplete patch of CVE-2026-34950: Non-whitespace key-prefix re-enables RSA→HS256 algorithm confusion
- CVE-2026-108261CRITICAL
TinaCMS admin preview iframe loads an attacker-controlled origin from the URL fragment
- CVE-2023-46115HIGH
Tauri's Updater Private Keys Possibly Leaked via Vite Environment Variables
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies