CVE-2023-31134 Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
Attackers can bypass IPC isolation via open redirects, exposing internal APIs to external sites in Tauri desktop applications.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-31134?
CVE-2023-31134 is a medium-severity vulnerability in tauri-apps tauri, published on 9 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Tauri is software for building applications for multi-platform deployment. The Tauri IPC is usually strictly isolated from external websites, but in versions 1.0.0 until 1.0.9, 1.1.0 until 1.1.4, and 1.2.0 until 1.2.5, the isolation can be bypassed by redirecting an existing Tauri window to an external website. This is either possible by an application implementing a feature for users to visit arbitrary websites or due to a bug allowing the open redirect. This allows the external website access to the IPC layer and therefore to all configured and exposed Tauri API endpoints and application specific implemented Tauri commands. This issue has been patched in versions 1.0.9, 1.1.4, and 1.2.5. As a workaround, prevent arbitrary input in redirect features and/or only allow trusted websites access to the IPC.
Weakness: CWE-601
Which versions are affected by CVE-2023-31134?
6 open source packages ship an affected version, including tauri. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tauri crates.io | From 1.0.0 | 1.0.9 |
tauri crates.io | From 1.0.0 | 1.0.9 |
tauri crates.io | From 1.1.0 | 1.1.4 |
tauri crates.io | From 1.1.0 | 1.1.4 |
tauri crates.io | From 1.2.0 | 1.2.5 |
tauri crates.io | From 1.2.0 | 1.2.5 |
Products include Tauri Tauri.
How do I fix CVE-2023-31134?
Upgrade tauri to a fixed version for your release line: 1.0.9, 1.1.4 or 1.2.5.
Is CVE-2023-31134 being exploited?
There is no known exploitation of CVE-2023-31134 in the wild and no public exploit code.
Other vulnerabilities in tauri-apps tauri
- CVE-2023-46115 Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli
- CVE-2022-39215 The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri
- CVE-2022-46171 Tauri vulnerable to path traversal
- CVE-2026-42184 Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands
- CVE-2023-34460 Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles
Sources
Also known as GHSA-4wm2-cwcf-wwvp.