# CVE-2023-34460: Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles

> Attackers can read dotfiles via wildcard filesystem scopes due to a regression in Tauri's Unix scope checks, affecting apps using specific configurations.

- **Severity:** Medium 4.8 (`CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Jun 2023
- **Updated:** 7 Nov 2024
- **Also known as:** GHSA-wmff-grcw-jcfm

## What is CVE-2023-34460?

CVE-2023-34460 is a medium-severity missing authorization vulnerability in tauri-apps tauri, published on 23 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Tauri is a framework for building binaries for all major desktop platforms. The 1.4.0 release includes a regression on the Filesystem scope check for dotfiles on Unix. Previously dotfiles were not implicitly allowed by the glob wildcard scopes (eg. `$HOME/*`), but a regression was introduced when a configuration option for this behavior was implemented. Only Tauri applications using wildcard scopes in the `fs` endpoint are affected. The regression has been patched on version 1.4.1.

Weakness: CWE-285 (Improper Authorization)

## Which versions are affected by CVE-2023-34460?

2 open source packages ship an affected version, including tauri. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `tauri` | crates.io | From 1.4.0 | 1.4.1 |
| `tauri` | crates.io | From 1.4.0 | 1.4.1 |

Products: Tauri Tauri.

## How do I fix CVE-2023-34460?

Upgrade tauri to 1.4.1 or later.

## Is CVE-2023-34460 being exploited?

There is no known exploitation of CVE-2023-34460 in the wild and no public exploit code.

## Other vulnerabilities in tauri-apps tauri

- [CVE-2023-46115](https://insights.sbomify.com/CVE-2023-46115/): Updater Private Keys Possibly Leaked via Vite Environment Variables in tauri-cli (high 8.4)
- [CVE-2022-39215](https://insights.sbomify.com/CVE-2022-39215/): The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri (high 8.3)
- [CVE-2022-46171](https://insights.sbomify.com/CVE-2022-46171/): Tauri vulnerable to path traversal (medium 6.8)
- [CVE-2026-42184](https://insights.sbomify.com/CVE-2026-42184/): Tauri: Origin Confusion Allows Remote Pages to Invoke Local-Only IPC Commands (medium 6.1)
- [CVE-2023-31134](https://insights.sbomify.com/CVE-2023-31134/): Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites (medium 4.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-34460 and fix it if it is affected.

What it is: CVE-2023-34460 is a medium-severity missing authorization vulnerability in tauri-apps tauri, published on 23 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-34460 in the wild and no public exploit code.

Affected packages and fixed versions:
- tauri (crates.io): affected from 1.4.0; fixed in 1.4.1
- tauri (crates.io): affected from 1.4.0; fixed in 1.4.1

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2023-34460/ (Markdown: https://insights.sbomify.com/CVE-2023-34460/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2023-34460
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2023-34460
- OSV: https://osv.dev/vulnerability/CVE-2023-34460

---
From sbomify Insights: https://insights.sbomify.com/CVE-2023-34460/
Summaries are generated and may contain mistakes; the official description above is the record.
