fix(deps): bump tauri to >=2.11.1 (GHSA-7gmj-67g7-phm9 / CVE-2026-42184) - #958
fix(deps): bump tauri to >=2.11.1 (GHSA-7gmj-67g7-phm9 / CVE-2026-42184)#958aeonframework wants to merge 2 commits into
Conversation
Tauri 2.9.5 is vulnerable to origin confusion (CVE-2026-42184 / GHSA-7gmj-67g7-phm9, CVSS 8.8). The is_local_url() check only validates the first subdomain label, allowing a URL like tauri.evil.com to bypass the local-IPC gate on Windows and Android. Fixed in Tauri 2.11.1. After merging, run: cargo update -p tauri --precise 2.11.1 to update Cargo.lock to the patched version. Also noted in Cargo.lock (may resolve with tauri bump): - openssl@0.10.75: GHSA-8c75-8mhr-p7r9 + 6 more (HIGH/MOD) - quinn-proto@0.11.13: GHSA-6xvm-j4wr-6v98 (HIGH DoS) - tar@0.4.44: GHSA-gchp-q4r4-x4ff path traversal (MOD)
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe Tauri dependency in ChangesTauri dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@tauri/src-tauri/Cargo.toml`:
- Line 16: Update the Cargo.lock entry for the tauri dependency to resolve
precisely to version 2.11.1, matching the declaration in Cargo.toml. Run cargo
update -p tauri --precise 2.11.1 and commit all resulting lockfile changes.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: ad7f5e39-950a-4d0d-86ed-2a68484a5eb9
📒 Files selected for processing (1)
tauri/src-tauri/Cargo.toml
The bump only edited Cargo.toml; the committed lock still pinned tauri 2.9.5, which is below the 2.11.1 that fixes GHSA-7gmj-67g7-phm9 / CVE-2026-42184 — so a reproducible (--locked) build would fail and, worse, still ship the vulnerable version. Repinned the tauri family (tauri 2.11.1, tauri-runtime 2.11.3, tauri-runtime-wry 2.11.4, wry 0.55.1, ...) so the fix actually takes effect.
Summary
Bumps
taurifrom2.0to2.11.1intauri/src-tauri/Cargo.tomlto require a version that includes the fix for GHSA-7gmj-67g7-phm9 (CVE-2026-42184, CVSS 8.8).Vulnerability: Tauri origin confusion (GHSA-7gmj-67g7-phm9)
Tauri 2.x
is_local_url()only checks the first subdomain label, so a URL liketauri.evil.comwould be treated as trusted on Windows and Android, allowing a remote page to reach the local IPC bridge. Fixed in Tauri 2.11.1.Affected:
tauri@2.9.5(current lock)Fixed in:
tauri@2.11.1Severity: High (CVSS 8.8)
Additional CVEs in current Cargo.lock
These may resolve when the Tauri update pulls in newer transitive deps:
openssl@0.10.75quinn-proto@0.11.13tar@0.4.44Steps to update Cargo.lock after merging
Reported by Aeon automated security scanner.
Summary by CodeRabbit