CVE-2022-39215 Details
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`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tauri-apps/tauri/issues/4882 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://github.com/tauri-apps/tauri/pull/5123 | CVE | PatchThird Party Advisory |
| https://github.com/tauri-apps/tauri/pull/5123/commits/1f9b9e8d26a2c915390323e161020bcb36d44678 | CVE | PatchThird Party Advisory |
| https://github.com/tauri-apps/tauri/security/advisories/GHSA-28m8-9j7v-x499 | CVE | MitigationPatchThird Party Advisory |
| https://github.com/tauri-apps/tauri/issues/4882 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/tauri-apps/tauri/pull/5123 | [email protected] | PatchThird Party Advisory |
| https://github.com/tauri-apps/tauri/pull/5123/commits/1f9b9e8d26a2c915390323e161020bcb36d44678 | [email protected] | PatchThird Party Advisory |
| https://github.com/tauri-apps/tauri/security/advisories/GHSA-28m8-9j7v-x499 | [email protected] | MitigationPatchThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tauri tauri | < 1.0.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 21, 2022 | Initial Analysis | [email protected] |