{"cve":"CVE-2022-41874","nvd":{"published":"2022-11-10T21:15:10.413","modified":"2026-06-17T05:03:57.473","status":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","score":4.7},"cwes":["CWE-706","CWE-668"],"references":["https://github.com/tauri-apps/tauri/security/advisories/GHSA-q9wv-22m9-vhqh","https://github.com/tauri-apps/tauri/security/advisories/GHSA-q9wv-22m9-vhqh"],"products":["tauri:tauri"],"source":"nvd","synced_at":"2026-10-19T21:37:08.729216836+00:00"},"epss":{"cve":"CVE-2022-41874","score":0.00465,"percentile":0.40254,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-q9wv-22m9-vhqh","url":"https://osv.dev/vulnerability/GHSA-q9wv-22m9-vhqh","summary":"Tauri Filesystem Scope can be Partially Bypassed","modified":"2023-11-08T04:10:33.403373Z","packages":[{"ecosystem":"crates.io","name":"Tauri","purl":"pkg:cargo/Tauri","ranges":[">=1.0.0 <1.0.7"],"fixed":["1.0.7"]},{"ecosystem":"crates.io","name":"Tauri","purl":"pkg:cargo/Tauri","ranges":[">=1.1.0 <1.1.2"],"fixed":["1.1.2"]}]},{"id":"RUSTSEC-2022-0091","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0091","summary":"`tauri` filesystem scope partial bypass","modified":"2023-11-08T04:10:33.403373Z","packages":[{"ecosystem":"crates.io","name":"tauri","purl":"pkg:cargo/tauri","ranges":[">=1.0.0 <1.0.7",">=1.1.0 <1.1.2"],"fixed":["1.0.7","1.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}