CVE-2026-42184 Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands
Attackers can invoke local-only IPC commands by hosting pages on matching subdomains, potentially leading to code execution or security bypass in Tauri apps.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-42184?
CVE-2026-42184 is a medium-severity server-side request forgery vulnerability in tauri-apps tauri, published on 27 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Tauri is a framework for building binaries for all major desktop platforms. From 2.0 to 2.11.0, a flaw in Tauri's is_local_url() function causes it to incorrectly classify remote URLs as trusted local origins on Windows and Android. On these systems, Tauri maps custom URI scheme protocols to http://<scheme>.localhost/ because those platforms' WebView implementations cannot serve custom URI schemes directly. The issue is that Tauri's check to see if the origin is local, only checks the first subdomain of the URL. An attacker can abuse this by hosting a page on a domain whose subdomain matches the custom scheme of the application. This vulnerability is fixed in 2.10.3.
Weakness: CWE-918
Which versions are affected by CVE-2026-42184?
2 open source packages ship an affected version, including tauri. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tauri crates.io | From 2.0.0 | 2.11.1 |
tauri crates.io | From 2.0.0 | 2.11.1 |
Products include Tauri Tauri.
How do I fix CVE-2026-42184?
Upgrade tauri to 2.11.1 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2026-42184 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42184 exists.
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-2023-34460 Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles
- CVE-2023-31134 Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
Sources
Also known as GHSA-7gmj-67g7-phm9.