CVE-2022-46171

Tauri vulnerable to path traversal

State
Published
Severity
6.8 Medium
Published
Dec 23, 2022
Updated
Apr 15, 2025
Reserved
Nov 28, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
tauritauri-apps
  • >= 1.0.0, < 1.0.8Affected
  • >= 1.1.0, < 1.1.3Affected
  • >= 1.2.0, < 1.2.3Affected
  • >= 2.0.0-alpha.0, < 2.0.0-alpha.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.