Live threats

All CVEs / Tauri

CVE-2022-39215Tauri

Medium 5.8 No auth needed

Priority
50
CVSS 3.1
5.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 64
Auth required
No
Published
Sep 15, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22, CWE-59
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tauri.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io tauri < 1.0.6 1.0.6 cargo update -p tauri --precise 1.0.6
crates.io tauri ≥ 0.0.0-0 < 1.0.6 1.0.6 cargo update -p tauri --precise 1.0.6

Per OSV / GitHub Advisories (GHSA-28m8-9j7v-x499, RUSTSEC-2022-0088). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
tauritauri< 1.0.6

Official sources

References

Links published by the sources. Open them with care.