Skip to content
OpenAdvisories
Medium · 6.8 CVE-2022-46171 EUVD-2022-7536GHSA-6mv3-wm7j-h4w5

Tauri vulnerable to path traversal

Published Dec 23, 2022 · Updated Apr 15, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io tauri >= 1.0.0, < 1.0.8 1.0.8 GHSA-6mv3-wm7j-h4w5
crates.io tauri >= 1.1.0, < 1.1.3 1.1.3 GHSA-6mv3-wm7j-h4w5
crates.io tauri >= 1.2.0, < 1.2.3 1.2.3 GHSA-6mv3-wm7j-h4w5
crates.io tauri >= 2.0.0-alpha.0, < 2.0.0-alpha.2 2.0.0-alpha.2 GHSA-6mv3-wm7j-h4w5

References