Tauri tauri-plugin-dialog
Tauri framework v2 Dialog plugin auto-expands the filesystem scope with attacker-controlled recursion
When a Tauri application uses the dialog plugin's file or folder picker, an attacker with JavaScript execution (XSS) can force the scope expansion to be recursive, granting read/write access to an entire directory tree after a single user click on a normal-looking OS file dialog. The user has no indication that recursive access was granted, and the expanded scope cannot be revoked for the lifetime of the application.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, <= *
Mitigation
The fix is to stop taking the recursion flag from the caller. Grant what was actually chosen: the one file, or the one folder and nothing below it. An app that genuinely needs a recursive grant can ask for one in its own Rust code, where the frontend cannot reach it.
References
- Vendor advisory github.com/tauri-apps/plugins-workspace/securi…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.