The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
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`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tauri-apps | tauri | before 1.0.6 | 1.0.6 | Patch available | CNA |
| — | tauri (crates.io) | before 1.0.6 | 1.0.6 | Patch available | GHSA-28m8-9j7v-x499 |
- tauri Vendortauri-apps Affected before 1.0.6 Fixed in 1.0.6 Patch available CNA
- tauri (crates.io) Vendor— Affected before 1.0.6 Fixed in 1.0.6 Patch available GHSA-28m8-9j7v-x499
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:* | before 1.0.6 | Vulnerable | tauri-apps |
- cpe:2.3:a:tauri:tauri:*:*:*:*:*:*:*:* Versions before 1.0.6 Vulnerable ·tauri-apps
Remediation
- Fix · CNA tauri (tauri-apps) Fixed in 1.0.6
- Fix · GHSA-28m8-9j7v-x499 tauri (crates.io) Fixed in 1.0.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39215
- 2026-10-03 Alias added: GHSA-28m8-9j7v-x499
References
Patch 3
More tauri-apps Tauri vulnerabilities
- TI-2023-24757 Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli CVSS 3.1HIGH 8.4
- TI-2022-22815 Tauri vulnerable to path traversal CVSS 3.1HIGH 7.7
- TI-2026-30506 Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands CVSS 4.0MEDIUM 6.1
- TI-2023-17285 Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles CVSS 3.1CRITICAL 9.8
- TI-2023-14844 Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites CVSS 3.1MEDIUM 5.4
- TI-2022-20215 Tauri Filesystem Scope can be Partially Bypassed CVSS 3.1MEDIUM 4.7
Sources
- CVE-2022-39215 · CVE Program
- CVE-2022-39215 · NVD
- FIRST EPSS
- GHSA-28m8-9j7v-x499 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences