Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-41874

LOW 2.6EPSS 43%

Tauri Filesystem Scope can be Partially Bypassed

Also known as GHSA-q9wv-22m9-vhqh, RUSTSEC-2022-0091

Mitigation

  • Upgrade Tauri to one of 1.0.7, 1.1.2 (or later in the same release line).
  • Upgrade tauri to one of 1.0.7, 1.1.2 (or later in the same release line).

Who should check

  • Projects that depend on crates.io package Tauri (>= 1.0.0, < 1.0.7)
  • Projects that depend on crates.io package tauri (>= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2)
  • Anyone running tauri-apps tauri >= 1.0.0, <1.0.7; >= 1.1.0, <1.1.2

Vulnerability facts

Affected
Tauri >= 1.0.0, < 1.0.7; tauri >= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2
Fixed in
1.0.7, 1.1.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
2.6 (v3.1, CNA)CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: High
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: None
  • Availability impact: None
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-668, CWE-706
Published
Modified

Description

Tauri is a framework for building binaries for all major desktop platforms. In versions prior to 1.0.7 and 1.1.2, Tauri is vulnerable to an Incorrectly-Resolved Name. Due to incorrect escaping of special characters in paths selected via the file dialog and drag and drop functionality, it is possible to partially bypass the `fs` scope definition. It is not possible to traverse into arbitrary paths, as the issue is limited to neighboring files and sub folders of already allowed paths. The impact differs on Windows, MacOS and Linux due to different specifications of valid path characters. This bypass depends on the file picker dialog or dragged files, as user selected paths are automatically added to the allow list at runtime. A successful bypass requires the user to select a pre-existing malicious file or directory during the file picker dialog and an adversary controlled logic to access these files. The issue has been patched in versions 1.0.7, 1.1.2 and 1.2.0. As a workaround, disable the dialog and fileDropEnabled component inside the tauri.conf.json.

Affected and fixed versions

Package / productAffectedFixedSource
crates.io Tauri>= 1.0.0, < 1.0.71.0.7, 1.1.2osv
crates.io tauri>= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.21.0.7, 1.1.2osv
tauri-apps tauri>= 1.0.0, <1.0.7; >= 1.1.0, <1.1.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2022-41874.md
Affected: Tauri >= 1.0.0, < 1.0.7; tauri >= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2
Fixed in: 1.0.7, 1.1.2

Steps:
1. Search this machine and project for Tauri (crates.io), 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.

References

FAQ

Is CVE-2022-41874 being exploited?

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

How serious is CVE-2022-41874?

Low: CVSS 2.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-41874?

Tauri >= 1.0.0, < 1.0.7; tauri >= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2.

Is there a fix for CVE-2022-41874?

Yes. Fixed in 1.0.7, 1.1.2. Upgrade Tauri to one of 1.0.7, 1.1.2 (or later in the same release line). Upgrade tauri to one of 1.0.7, 1.1.2 (or later in the same release line).

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

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.

Sponsors