CVE-2026-42184 PUBLISHED

Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands

Assigner: GitHub_M
Reserved: 25.04.2026 Published: 27.05.2026 Updated: 27.05.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.1

Product Status

Vendor tauri-apps
Product tauri
Versions
  • Version >= 2.0, < 2.11.1 is affected

References

Problem Types

  • CWE-918: Server-Side Request Forgery (SSRF) CWE