Security mailing lists by PureSourceCode

CVE-2022-41874

MEDIUM 4.7CVSS 3.1

Tauri Filesystem Scope can be Partially Bypassed

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.

Published
10 Nov 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-284CWE-668CWE-706
Also known as
GHSA-q9wv-22m9-vhqhRUSTSEC-2022-0091
Sources
NVDJSONOSV GHSA-q9wv-22m9-vhqhJSONOSV RUSTSEC-2022-0091JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 2.3 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N
OSV RustSec CVSS 3.1 LOW 2.3 CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD tauri tauri
cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
>= 1.0.0, < 1.0.7 1.0.7
NVD tauri tauri
cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:*
>= 1.1.0, < 1.1.2 1.1.2
OSV crates.io Tauri >= 1.0.0, < 1.0.7 1.0.7
OSV crates.io Tauri >= 1.1.0, < 1.1.2 1.1.2
OSV crates.io tauri >= 1.0.0, < 1.0.7; >= 1.1.0, < 1.1.2 1.0.7, 1.1.2

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 10 Nov 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 Nov 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.