Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. tauri
  4. ›
  5. CVE-2026-42184

CVE-2026-42184: Tauri has an Origin Confusion Issue that Allows Remote Pages to Invoke Local-Only IPC Commands

May 6, 2026

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 (e.g. http://app.attacker.com/)."

Example:

  • Local URL: app://localhost/ → on Android/Windows: http://app.localhost/
  • The check passes for any URL starting with http://app., including http://app.evil.com/

As a result, the attacker page can invoke backend commands that the developer intended to be accessible only to the app’s own frontend and that are explicitly restricted from being called by external or remote origins.

References

  • github.com/advisories/GHSA-7gmj-67g7-phm9
  • github.com/tauri-apps/tauri
  • github.com/tauri-apps/tauri/security/advisories/GHSA-7gmj-67g7-phm9
  • nvd.nist.gov/vuln/detail/CVE-2026-42184

Code Behaviors & Features

Detect and mitigate CVE-2026-42184 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.11.1

Fixed versions

  • 2.11.1

Solution

Upgrade to version 2.11.1 or above.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

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

Source file

cargo/tauri/CVE-2026-42184.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 00:18:35 +0000.