CVE-2022-41874Tauri
Medium 4.7 No auth needed
Follow: this CVE · Tauri · Tauri We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 4.7
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Nov 10, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
What happens
Tauri is a framework for building binaries for all major desktop platforms. In versions prior to 1.0.7 and 1.1.2, Tauri is vulnerable to an Incorrectly-Resolved Name. Due to incorrect escaping of special characters in paths selected via the file dialog and drag and drop functionality, it is possible to partially bypass the `fs` scope definition. It is not possible to traverse into arbitrary paths, as the issue is limited to neighboring files and sub folders of already allowed paths. The impact differs on Windows, MacOS and Linux due to different specifications of valid path characters. This bypass depends on the file picker dialog or dragged files, as user selected paths are automatically added to the allow list at runtime. A successful bypass requires the user to select a pre-existing malicious file or directory during the file picker dialog and an adversary controlled logic to access these files. The issue has been patched in versions 1.0.7, 1.1.2 and 1.2.0. As a workaround, disable the dialog and fileDropEnabled component inside the tauri.conf.json.
What to do
- Apply the vendor's security update for Tauri.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | Tauri |
≥ 1.0.0 < 1.0.7 |
1.0.7 |
cargo update -p Tauri --precise 1.0.7 |
| crates.io | Tauri |
≥ 1.1.0 < 1.1.2 |
1.1.2 |
cargo update -p Tauri --precise 1.1.2 |
| crates.io | tauri |
≥ 1.0.0 < 1.0.7 |
1.0.7 |
cargo update -p tauri --precise 1.0.7 |
| crates.io | tauri |
≥ 1.1.0 < 1.1.2 |
1.1.2 |
cargo update -p tauri --precise 1.1.2 |
Per OSV / GitHub Advisories (GHSA-q9wv-22m9-vhqh, RUSTSEC-2022-0091). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tauri | tauri | ≥ 1.0.0 < 1.0.7 |
| tauri | tauri | ≥ 1.1.0 < 1.1.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Third Party Advisory