CVE-2022-46171 | Tauri vulnerable to path traversal

Exp

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.

Published: 2022-12-23 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-46171 is rated High Exploit Risk (64.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.46%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-46171

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-46171

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-12-24 0.15% 0.46% +0.31%
2 2025-11-21 0.46% 0.15% -0.31%
3 2025-11-18 0.46%

Full EPSS history (8 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-46171

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 4.0 [email protected]
7.7 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
3.1 4.0 [email protected]

Weakness enumeration for CVE-2022-46171

GitHub Security Advisory for CVE-2022-46171

GHSA-6mv3-wm7j-h4w5 · Severity: medium · Ecosystem: rust — Tauri Filesystem Scope Glob Pattern is too Permissive

Affected software / configurations for CVE-2022-46171

Vendor Product Version Raw CPE
tauri tauri >= 1.0.0, < 1.0.8 cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
tauri tauri >= 1.1.0, < 1.1.3 cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
tauri tauri >= 1.2.0, < 1.2.3 cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
tauri tauri 2.0.0 cpe:2.3:a:tauri:tauri:2.0.0:alpha0:*:*:*:*:*:*
tauri tauri 2.0.0 cpe:2.3:a:tauri:tauri:2.0.0:alpha1:*:*:*:*:*:*

References for CVE-2022-46171

cvelogic Threat Intelligence