When a Tauri application uses the dialog plugin's file or folder picker, an attacker with JavaScript execution (XSS) can force the scope expansion to be recursive, granting read/write access to an entire directory tree after a single user click on a normal-looking OS file dialog. The user has no indication that recursive access was granted, and the expanded scope cannot be revoked for the lifetime of the application.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

The fix is to stop taking the recursion flag from the caller. Grant what was actually chosen: the one file, or the one folder and nothing below it. An app that genuinely needs a recursive grant can ask for one in its own Rust code, where the frontend cannot reach it.


Workaround

No workaround given by the vendor.

History

Wed, 23 Sep 2026 11:45:00 +0000

Type Values Removed Values Added
Description When a Tauri application uses the dialog plugin's file or folder picker, an attacker with JavaScript execution (XSS) can force the scope expansion to be recursive, granting read/write access to an entire directory tree after a single user click on a normal-looking OS file dialog. The user has no indication that recursive access was granted, and the expanded scope cannot be revoked for the lifetime of the application.
Title Tauri framework v2 Dialog plugin auto-expands the filesystem scope with attacker-controlled recursion
Weaknesses CWE-732
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published:

Updated: 2026-09-23T14:22:55.260Z

Reserved: 2026-09-22T10:38:03.883Z

Link: CVE-2026-95627

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T10:17:08.810

Modified: 2026-09-23T10:17:08.810

Link: CVE-2026-95627

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses