Repository navigation
chore(deps): update rust crate tauri to v2.11.1 [security] - #186
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
May 18, 2026 18:30
a86444d to
99595c7
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
July 20, 2026 23:11
99595c7 to
8d72999
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
2 times, most recently
from
July 22, 2026 05:04
8d72999 to
48d0468
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
August 11, 2026 22:04
48d0468 to
2c9fdb8
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
September 7, 2026 16:45
2c9fdb8 to
b416656
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
September 15, 2026 11:13
b416656 to
e91410d
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
2 times, most recently
from
October 1, 2026 15:31
3296692 to
127520c
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
October 13, 2026 19:33
127520c to
687ab28
Compare
renovate
Bot
force-pushed
the
renovate/crate-tauri-vulnerability
branch
from
October 20, 2026 10:08
687ab28 to
a06b859
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
2.9.4→2.11.1Tauri has an Origin Confusion Issue that Allows Remote Pages to Invoke Local-Only IPC Commands
CVE-2026-42184 / GHSA-7gmj-67g7-phm9
More information
Details
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 tohttp://<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:
app://localhost/→ on Android/Windows:http://app.localhost/http://app., includinghttp://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:
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")returnstrueand the URL is classified asOrigin::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.jsoncontains the following code, which only exposespinglocally:{ "$schema": "../../../crates/tauri-schema-generator/schemas/capability.schema.json", "identifier": "main", "local": true, "windows": ["*"], "permissions": [ "sample:allow-ping" ] }src/lib.rscontains the following code, to register a custom scheme: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.
Severity
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
tauri-apps/tauri (tauri)
v2.11.1: tauri v2.11.1Compare Source
Cargo Audit
[2.11.1]
Enhancements
5e3126ff7(#15338) Expose the monitor (display) APIs on mobile.Bug Fixes
5f479c0c3(#15336) Fix crash when using the requestPermission API on Android.Security fixes
1b26769f9(#15266) Enforce ACL checks for IPC requests from remote origins even when noAppManifestis configured. Previously, custom (non-plugin) commands bypassed ACL entirely without anAppManifest, allowing any origin to invoke them. Now, remote origins are always subject to ACL resolution, and can only reach custom commands if an explicitremotecapability has been granted.ba025588fCorrectly handle .localhost suffix in local origins on Windows and Android to fix a security issue that made tauri think remote websites that started with a registered scheme were local websites.For example, when registering an
appcustom protocol, Tauri would thinkhttp://app.evil.com/would be a local URL on Windows/Android.Dependencies
tauri-utils@2.9.1tauri-runtime@2.11.1tauri-runtime-wry@2.11.1tauri-macros@2.6.1tauri-build@2.6.1Cargo Publish
v2.11.0: tauri v2.11.0Compare Source
Cargo Audit