{"id":"CVE-2022-46171","published":"2022-12-23T13:47:56Z","modified":"2025-04-15T03:17:21Z","title":"Tauri vulnerable to path traversal","vendor":"tauri-apps","product":"tauri","tier":"tail","description":{"text":"Tauri is a framework for building binaries for all major desktop platforms. The filesystem glob pattern wildcards `*`, `?`, and `[...]` match file path literals and leading dots by default, which unintentionally exposes sub folder content of allowed paths. Scopes without the wildcards are not affected. As `**` allows for sub directories the behavior there is also as expected. The issue has been patched in the latest release and was backported into the currently supported 1.x branches. There are no known workarounds at the time of publication.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01073,"percentile":0.65751,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3","tags":["x_refsource_MISC"]},{"url":"https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58","tags":["x_refsource_MISC"]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":13.15},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"tauri-apps","affectedVersions":[{"vendor":"tauri-apps","product":"tauri","versions":[">= 1.0.0, < 1.0.8",">= 1.1.0, < 1.1.3",">= 1.2.0, < 1.2.3",">= 2.0.0-alpha.0, < 2.0.0-alpha.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-15T03:14:09.148755Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"tauri","vulnerableRanges":[">=1.0.0, <1.0.8",">=1.1.0, <1.1.3",">=1.2.0, <1.2.3",">=2.0.0-alpha.0, <2.0.0-alpha.2"],"patched":["1.0.8","1.1.3","1.2.3","2.0.0-alpha.2"],"from":["GHSA-6mv3-wm7j-h4w5"],"provenance":"source"}],"summary":{"text":"Tauri, a framework for building desktop application binaries, has a flaw in its filesystem scope handling, where the glob wildcards *, ?, and [...] unintentionally match file path literals and leading dots, exposing subfolder content of paths the scope was meant to allow. Scopes that do not use these wildcards are not affected, and an attacker with local or adjacent access and low privileges could read files beyond the intended restriction, with no user interaction or configuration required beyond a wildcard-based scope.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:17Z"},"euvd":{"id":"EUVD-2022-7536","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-tauri-apps-tauri-cve-2022-46171","children":[{"from":"CVE-2022-46171","to":"CVE-2023-34460","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-wmff-grcw-jcfm","via":"reference","url":"https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5"},{"kind":"same-code","provenance":"machine","files":["core/tauri/src/scope/fs.rs"],"commits":["https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3","https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58","https://github.com/tauri-apps/tauri/commit/066c09a6ea06f42f550d090715e06beb65cd5564"],"basis":"shared function","functions":["Scope"]}]}],"packageHistory":[{"cve":"CVE-2022-39215","published":"2022-09-15","fixed":"1.0.6","kev":false,"link":{"from":"CVE-2022-39215","to":"CVE-2022-46171","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:tauri","fromFixed":"1.0.6","toFixed":"1.0.8","daysApart":99}]}},{"cve":"CVE-2023-31134","published":"2023-05-09","fixed":"1.2.5","kev":false,"link":{"from":"CVE-2022-46171","to":"CVE-2023-31134","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:tauri","fromFixed":"1.0.8","toFixed":"1.0.9","daysApart":137}]}},{"cve":"CVE-2023-34460","published":"2023-06-23","fixed":"1.4.1","kev":false},{"cve":"CVE-2022-46171","published":"2022-12-23","fixed":"2.0.0-alpha.2","kev":false},{"cve":"CVE-2024-35222","published":"2024-05-23","fixed":"2.0.0-beta.20","kev":false},{"cve":"CVE-2026-42184","published":"2026-05-27","fixed":"2.11.1","kev":false}],"package":"crates.io:tauri"}}