CVE-2022-41874
MEDIUM 4.7CVSS 3.1Tauri Filesystem Scope can be Partially Bypassed
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.
- Published
- 10 Nov 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284CWE-668CWE-706
- Also known as
- GHSA-q9wv-22m9-vhqhRUSTSEC-2022-0091
- Sources
- NVDJSONOSV GHSA-q9wv-22m9-vhqhJSONOSV RUSTSEC-2022-0091JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 2.6 | CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N |
| OSV | RustSec | CVSS 3.1 | LOW 2.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | tauri | tauricpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:* |
>= 1.0.0, < 1.0.7 | 1.0.7 |
| NVD | tauri | tauricpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:* |
>= 1.1.0, < 1.1.2 | 1.1.2 |
| OSV | crates.io | Tauri | >= 1.0.0, < 1.0.7 | 1.0.7 |
| OSV | crates.io | Tauri | >= 1.1.0, < 1.1.2 | 1.1.2 |
| OSV | crates.io | tauri | >= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2 | 1.0.7, 1.1.2 |
References
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-q9wv-22m9-vhqh · Issue Tracking, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-41874 · ADVISORY
- https://github.com/tauri-apps/tauri/issues/5234 · WEB, REPORT
- https://github.com/tauri-apps/tauri/pull/5237 · WEB
- https://github.com/tauri-apps/tauri · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2022-0091.html · WEB, ADVISORY
- https://crates.io/crates/tauri · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Nov 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Nov 2022)