CVEvulnerability
CVE-2022-46171
7.7 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-12-23
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-22
Description
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.
Affected configurations
• tauri tauri (>= 1.0.0 < 1.0.8)
• tauri tauri (>= 1.1.0 < 1.1.3)
• tauri tauri (>= 1.2.0 < 1.2.3)
• tauri tauri 2.0.0
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3 Patch, Third Party Advisory
- https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58 Patch, Third Party Advisory
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5 Exploit, Third Party Advisory
- https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3 Patch, Third Party Advisory
- https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58 Patch, Third Party Advisory
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5 Exploit, Third Party Advisory