CVE-2025-31477CWE-20

Improper Scope Validation in the open Endpoint of tauri-plugin-shell

Critical · published April 2, 2025

CVSS v4.0
9.3
EPSS
1%
Percentile
63.7
In the wild
Unconfirmed
What it is

🚨 A misstep in Tauri's shell plugin opens the door for attackers to execute code on your system! 🔥 Think of it like a restaurant where patrons can order from a menu that should only include safe dishes, but a sneaky chef lets them order anything from the kitchen — including dangerous recipes! With this vulnerability, an attacker could use untrusted input to execute arbitrary code on your system, potentially leading to complete system compromise. This could result in data theft, unauthorized access to sensitive information, and ruin your system's integrity. It's a digital nightmare that you definitely want to avoid!

Put simply

Think of it like a restaurant where patrons can order from a menu that should only include safe dishes, but a sneaky chef lets them order anything from the kitchen — including dangerous recipes! The Tauri shell plugin, prior to version 2.2.1, improperly validated allowed protocols for its open endpoint, allowing potentially dangerous options like file:// or smb:// to be executed. This flaw can lead to remote code execution if the endpoint is exposed to users or if malicious code runs in the frontend.

What to do

With this vulnerability, an attacker could use untrusted input to execute arbitrary code on your system, potentially leading to complete system compromise. This could result in data theft, unauthorized access to sensitive information, and ruin your system's integrity. It's a digital nightmare that you definitely want to avoid! Upgrade to Tauri version 2.2.1 or later immediately to patch this critical vulnerability. Additionally, review your application to ensure that any user input passed to the shell plugin is properly validated and sanitized to prevent exploitation. Don't take this lightly! You've got this! With these steps, your system will be secured in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
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
EPSS
0.01039 · 63.7th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2025-04-02T21:10Z
EPSS history
Timeline
  • 02 APR 21:10Z
    Improper Scope Validation in the open Endpoint of tauri-plugin-shell
    cvelistv5