{"cve":"CVE-2022-39215","nvd":{"published":"2022-09-15T22:15:11.527","modified":"2026-06-17T04:57:55.933","status":"Modified","description":"Tauri is a framework for building binaries for all major desktop platforms. Due to missing canonicalization when `readDir` is called recursively, it was possible to display directory listings outside of the defined `fs` scope. This required a crafted symbolic link or junction folder inside an allowed path of the `fs` scope. No arbitrary file content could be leaked. The issue has been resolved in version 1.0.6 and the implementation now properly checks if the requested (sub) directory is a symbolic link outside of the defined `scope`. Users are advised to upgrade. Users unable to upgrade should disable the `readDir` endpoint in the `allowlist` inside the `tauri.conf.json`.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":5.8},"cwes":["CWE-59","CWE-22"],"references":["https://github.com/tauri-apps/tauri/issues/4882","https://github.com/tauri-apps/tauri/pull/5123","https://github.com/tauri-apps/tauri/pull/5123/commits/1f9b9e8d26a2c915390323e161020bcb36d44678","https://github.com/tauri-apps/tauri/security/advisories/GHSA-28m8-9j7v-x499","https://github.com/tauri-apps/tauri/issues/4882"],"products":["tauri:tauri"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2022-39215","score":0.01022,"percentile":0.63491,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-28m8-9j7v-x499","url":"https://osv.dev/vulnerability/GHSA-28m8-9j7v-x499","summary":"Tauri's readDir Endpoint Scope can be Bypassed With Symbolic Links","modified":"2023-11-08T04:10:15.123159Z","packages":[{"ecosystem":"crates.io","name":"tauri","purl":"pkg:cargo/tauri","ranges":["<1.0.6"],"fixed":["1.0.6"]}]},{"id":"RUSTSEC-2022-0088","url":"https://osv.dev/vulnerability/RUSTSEC-2022-0088","summary":"`tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope","modified":"2023-11-08T04:10:15.123159Z","packages":[{"ecosystem":"crates.io","name":"tauri","purl":"pkg:cargo/tauri","ranges":[">=0.0.0-0 <1.0.6"],"fixed":["1.0.6"]}]}],"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."]}