Skip to main content

Tauri EUVDEUVD-2026-32527

| CVE-2026-42184 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-06 https://github.com/tauri-apps/tauri GHSA-7gmj-67g7-phm9
6.1
CVSS 4.0 · Vendor: https://github.com/tauri-apps/tauri
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker registers app.evil.com domain
  2. Delivery
    Hosts malicious webpage with IPC payload
  3. Exploit
    Victim opens URL in Tauri WebView
  4. Install
    is_local_url() extracts first subdomain (app)
  5. C2
    Incorrectly classifies as local origin
  6. Execute
    Backend command executes with unintended access
  7. Impact
    Attacker gains control of restricted functionality

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires specific conditions to be exploitable: (1) the target application must be built with Tauri version 2.0.0 through 2.11.0; (2) the application must be running on Windows or Android (not macOS or Linux); (3) the application must register at least one custom URI scheme protocol (e.g., app://); (4) the developer must have designated backend IPC commands as local-only via Tauri's capabilities system; (5) the attacker must be able to cause the victim to navigate to or load a remote URL in the application's WebView. The vulnerability does not require authentication, elevated privileges, special network conditions, or non-default configuration-it exists in the default implementation of is_local_url() on affected platforms. What limits exploitation is that the attack depends on social engineering or application design choices to deliver a malicious URL to the victim's WebView, and the attacker must register or control a domain whose first subdomain matches the application's custom protocol name.

Impact

Despite the absence of CVSS and EPSS scores in the provided data, this vulnerability carries high practical risk. The attack vector is network-based, requiring no authentication or user interaction beyond the victim opening an attacker-controlled URL in a WebView-a realistic scenario in applications that accept user-provided or external URLs. The complexity is low: an attacker simply registers or controls a domain with a matching first subdomain and hosts a malicious page. The technical impact is severe: attackers gain unauthorized access to backend commands explicitly restricted to local origins, potentially exposing sensitive functionality such as file system access, inter-process communication, or privileged operations that developers assume are protected. The availability of a public proof-of-concept significantly elevates real-world exploitation likelihood. The scope is limited to applications running on Windows or Android using custom URI schemes-not universal, but applicable to many Tauri-based applications. The vulnerability affects Tauri versions 2.0.0 through 2.11.0, representing all stable 2.x releases up to the fix, meaning any production application using these versions is vulnerable unless patched. The fact that developers explicitly designated commands as local-only via capabilities suggests they are high-value targets; attackers bypassing this protection can invoke unintended privileged operations.

Exploit ScenarioDerived

An attacker identifies a Windows or Android application built with vulnerable Tauri (2.0.0-2.11.0) that uses a custom protocol named app:// and exposes a ping command restricted to local origins. The attacker registers or controls a domain app.evil.com and hosts a malicious HTML page containing JavaScript that invokes the tauri.invoke('ping') command. When the victim opens a link to https://app.evil.com/ in the application's WebView-either through phishing, a compromised website, or a feature in the app that accepts external URLs-the page loads and executes the payload. Tauri's flawed is_local_url() check extracts only the first subdomain label (app) and verifies it matches the registered protocol, incorrectly classifying app.evil.com as a local origin. The ping command succeeds, and the attacker gains unauthorized access to backend functionality intended only for the application's own frontend.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 06, 2026

Origin confusion in Tauri's is_local_url() function on Windows and Android allows remote attackers to invoke local-only IPC commands by hosting content on a domain whose first subdomain matches the application's custom URI scheme. An attacker can register a domain like http://app.evil.com/ to bypass origin validation when the target application uses an app:// custom protocol, gaining unauthorized access to backend functionality intended only for the application's own frontend. A public proof-of-concept demonstrates successful command invocation through this bypass.

RemediationAI

Upgrade Tauri to version 2.11.1 or later immediately. The fix modifies is_local_url() to verify the complete domain is exactly <protocol>.localhost instead of accepting any domain beginning with <protocol>. Developers using Tauri 2.0.0 through 2.11.0 must rebuild and redeploy their applications with the patched version; there is no runtime workaround or configuration setting that mitigates the vulnerability without upgrading. For developers unable to upgrade immediately, the only compensating control is to restrict WebView navigation to trusted, controlled URLs and avoid loading arbitrary user-provided or external URLs in WebViews-however, this is not a reliable fix and may conflict with legitimate application requirements. The advisory at https://github.com/tauri-apps/tauri/security/advisories/GHSA-7gmj-67g7-phm9 contains detailed upgrade instructions and version compatibility information.

Affected VersionsENISA

tauri 2.0, < 2.11.1

Affected Packages

cargo tauri fix: 2.11.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Tauri is a cross-platform application framework that allows developers to build desktop and mobile applications using web technologies. On Windows and Android platforms, WebView implementations cannot natively serve custom URI schemes (such as app://), so Tauri implements a workaround by mapping custom protocols to http://<scheme>.localhost/ URLs. The vulnerability exists in the is_local_url() validation function within the WebView module, which uses Rust's split_once('.') method to extract only the first domain label (subdomain) and check if it matches a registered custom protocol. The flaw occurs at https://github.com/tauri-apps/tauri/blob/1ef6a119b1571d1da0acc08bdb7fd5521a4c6d52/crates/tauri/src/webview/mod.rs#L1680, where the code fails to verify that the complete domain is exactly <protocol>.localhost, instead accepting any domain beginning with <protocol>. This is a subdomain matching bypass exploiting improper origin validation logic, classified as CWE-918 (Server-Side Request Forgery), which encompasses origin/trust boundary confusion attacks.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/tauri-apps/tauri) PRIMARY 6.1 MEDIUM
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

Primary rating from Vendor (https://github.com/tauri-apps/tauri) · only source for this CVE.

CVSS VectorVendor: https://github.com/tauri-apps/tauri

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
May 27, 2026 - 19:37 NVD
6.1 (MEDIUM)

DescriptionCVE.org

Summary

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.

Details

Vulnerable function:

rust
#[cfg(any(windows, target_os = "android"))]
let local = {
  let protocol_url = self.manager().tauri_protocol_url(uses_https);
  let maybe_protocol = current_url
    .domain()
    .and_then(|d| d.split_once('.'))  // BUG: only splits on first dot
    .unwrap_or_default()
    .0;

  protocols.contains_key(maybe_protocol) && scheme == protocol_url.scheme()
};

Link: https://github.com/tauri-apps/tauri/blob/1ef6a119b1571d1da0acc08bdb7fd5521a4c6d52/crates/tauri/src/webview/mod.rs#L1680

split_once('.') discards everything after the first .. For http://app.evil.com/, the extracted label is app. If the application has registered a protocol named app, protocols.contains_key("app") returns true and the URL is classified as Origin::Local. The correct check must assert the full domain is exactly <protocol>.localhost.

PoC

We created a proof of concept app that can be found here. The app registers a custom app:// protocol and exposes a ping command restricted to local origins only. It provides a button to open a URL in a WebView, pre-filled with https://app.robbe-bc9.workers.dev/, an attacker-controlled page that invokes ping on load. Because the domain's first label matches the registered app protocol, is_local_url() classifies it as a local origin and the command succeeds.

capabilities/main.json contains the following code, which only exposes ping locally:

json
{
  "$schema": "../../../crates/tauri-schema-generator/schemas/capability.schema.json",
  "identifier": "main",
  "local": true,
  "windows": ["*"],
  "permissions": [
    "sample:allow-ping"
  ]
}

src/lib.rs contains the following code, to register a custom scheme:

rust
tauri::Builder::default()
  .register_uri_scheme_protocol("app", |_ctx, _request| { ... })

Impact

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy