Vulnerability MediumRUSTSEC-2022-0088 · tauri
RUSTSEC-2022-0088: `tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope
Short answerA security vulnerability in the tauri crate: `tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope. Medium severity (CVSS 5.8). Fixed in 1.0.6: update to a fixed version.
| Crate | tauri |
|---|---|
| Type | Vulnerability (privilege-escalation) |
| Affected versions | Before 1.0.6. |
| Fixed in | 1.0.6 |
| Severity | Medium, CVSS 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
| Published | 2022-08-07 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2022-39215, GHSA-28m8-9j7v-x499 |
What to do
- See which version you have:
cargo tree -i tauri(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p tauri. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampletauri = "1.0.6") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
It is possible for readDir to incorrectly enumerate files from a symlinked directory if called recursively when specifying an empty string for the dir parameter as outlined in this issue.
This is corrected in this PR by checking if a directory is a symlink before reading from it.
References
- Package: crates.io/crates/tauri
- Advisory: rustsec.org/advisories/RUSTSEC-2022-0088.html
- Report: github.com/tauri-apps/tauri/issues/4882
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for tauri
- Vulnerability LowRUSTSEC-2022-0091 · 2022-09-19`tauri` filesystem scope partial bypass
- VulnerabilityGHSA-4wm2-cwcf-wwvp · 2023-05-03Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
- VulnerabilityGHSA-4wm2-cwcf-wwvp · 2023-05-03Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
- VulnerabilityGHSA-4wm2-cwcf-wwvp · 2023-05-03Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites
- VulnerabilityGHSA-57fm-592m-34r7 · 2024-05-23iFrames Bypass Origin Checks for Tauri API Access Control
- VulnerabilityGHSA-57fm-592m-34r7 · 2024-05-23iFrames Bypass Origin Checks for Tauri API Access Control
- VulnerabilityGHSA-6mv3-wm7j-h4w5 · 2022-12-22Tauri Filesystem Scope Glob Pattern is too Permissive
- VulnerabilityGHSA-6mv3-wm7j-h4w5 · 2022-12-22Tauri Filesystem Scope Glob Pattern is too Permissive
Up next
Same cratetauri: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?