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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.07% (percentile 64, 2026-11-26)
- **CWE:** CWE-22
- **Aliases:** GHSA-6mv3-wm7j-h4w5
- **Published:** 2022-12-22T20:03:43.000Z
- **Modified:** 2026-06-17T05:11:21.440Z

## Who should check

- Projects that depend on crates.io package tauri (\>= 1.0.0, \< 1.0.8)
- Anyone running tauri-apps 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

## 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 and fixed versions

- crates.io `tauri`: affected \>= 1.0.0, \< 1.0.8; fixed 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2 (osv)
- tauri-apps 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 (cvelist)

## Mitigation

- Upgrade tauri to one of 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-46171. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-46171.md
Affected: tauri >= 1.0.0, < 1.0.8
Fixed in: 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2

Steps:
1. Search this machine and project for tauri (crates.io), tauri-apps tauri: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-46171 being exploited?

There is no confirmed exploitation: CVE-2022-46171 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.07% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-46171?

Medium: CVSS 6.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-46171?

tauri \>= 1.0.0, \< 1.0.8.

### Is there a fix for CVE-2022-46171?

Yes. Fixed in 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2. Upgrade tauri to one of 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-46171?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-46171>
- patch: <https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3>
- patch: <https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58>
- patch: <https://github.com/tauri-apps/tauri/commit/14d567f7ecb25a6d1024cf3d796f86aee89d0dd4>
- other: <https://github.com/tauri-apps/tauri>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-46171>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6mv3-wm7j-h4w5> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-46171> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-46171>
