CRITICAL · CVSS 9.8 Published: 2025-04-02

CVE-2025-31477 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2025-31477
Base Severity / ScoreCRITICAL (9.8 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness ClassificationCWE-20
Archive CategoriesCRITICAL Advisories · 2025 Index

Operational Mitigation Guidance

Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-31476 MEDIUM 4.8
CVE-2025-31493 CRITICAL 9.1
CVE-2025-31651 CRITICAL 9.8
CVE-2025-31681 CRITICAL 9.8
CVE-2025-31685 CRITICAL 9.1
CVE-2025-31691 CRITICAL 9.8
CVE-2025-32028 CRITICAL 9.9