CVE-2022-46171 json
Tauri vulnerable to path traversal
published 2022-12-22 3 y ago modified 2026-06-17 4 mo ago also GHSA-6mv3-wm7j-h4w5 , EUVD-2022-7536
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
Tauri is a framework for building binaries for all major desktop platforms. The filesystem glob pattern wildcards `*`, `?`, and `[...]` match file path literals and leading dots by default, which unintentionally exposes sub folder content of allowed paths. Scopes without the wildcards are not affected. As `**` allows for sub directories the behavior there is also as expected. The issue has been patched in the latest release and was backported into the currently supported 1.x branches. There are no known workarounds at the time of publication.
Patch / fix
- crates.io tauri 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2
- tauri tauri 1.0.8, 1.1.3, 1.2.3
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.07% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | tauri | >=1.0.0, <1.0.8 >=1.1.0, <1.1.3 >=1.2.0, <1.2.3 >=2.0.0-alpha.0, <2.0.0-alpha.2 |
1.0.8 1.1.3 1.2.3 2.0.0-alpha.2 |
Affected products
- tauri-apps tauri
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3
web, patch, third-party-advisory
-
github.com
/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58
web, patch, third-party-advisory
-
github.com
/tauri-apps/tauri/commit/14d567f7ecb25a6d1024cf3d796f86aee89d0dd4
web
-
github.com
/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-46171
advisory
-
github.com
/tauri-apps/tauri
package
Sources
- CVE List CVE-2022-46171
- GitHub Advisory GHSA-6mv3-wm7j-h4w5
- NVD CVE-2022-46171
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.