{"id":"CVE-2022-41874","published":"2022-11-10T00:00:00Z","modified":"2025-04-23T16:38:40Z","title":"Tauri Filesystem Scope can be Partially Bypassed","vendor":"tauri-apps","product":"tauri","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.6,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00516,"percentile":0.44826,"provenance":"source"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"references":[{"url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-q9wv-22m9-vhqh","tags":[]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":8.97},{"name":"CVSS severity","points":1.82}]},"vendorSlug":"tauri-apps","affectedVersions":[{"vendor":"tauri-apps","product":"tauri","versions":[">= 1.0.0, <1.0.7",">= 1.1.0, <1.1.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:54:51.769199Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"Tauri","vulnerableRanges":[">=1.0.0, <1.0.7",">=1.1.0, <1.1.2"],"patched":["1.0.7","1.1.2"],"from":["GHSA-q9wv-22m9-vhqh","RUSTSEC-2022-0091"],"provenance":"source"}],"summary":{"text":"The tauri framework (tauri-apps/tauri) has a flaw in its filesystem scope handling, where incorrect escaping of special characters in paths selected through the file dialog and drag-and-drop functionality allows the fs scope definition to be partially bypassed. An attacker can reach neighboring files and subfolders of already-allowed paths, but not arbitrary locations, and only if the user selects a pre-existing malicious file or directory in the file picker or drags it into the app, with attacker-controlled logic then accessing those files; the behaviour also varies by operating system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:09:07Z"},"euvd":{"id":"EUVD-2022-7410","exploited":false,"provenance":"source"}}