{"id":"CVE-2026-95627","state":"PUBLISHED","title":"Tauri framework v2 Dialog plugin auto-expands the filesystem scope with attacker-controlled recursion","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.","publishedAt":"2026-09-23T09:43:04.542Z","updatedAt":"2026-09-23T14:22:55.260Z","severity":{"score":7.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"JFROG"},"assigner":"JFROG","products":["Tauri tauri-plugin-dialog"],"affected":[{"vendor":"Tauri","product":"tauri-plugin-dialog","packageName":"tauri-plugin-dialog","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"*","versionType":"semver"}],"collectionURL":"https://crates.io/crates/tauri-plugin-dialog","repo":"git://github.com/tauri-apps/plugins-workspace","programFiles":["plugins/dialog/src/commands.rs"]}],"references":["https://github.com/tauri-apps/plugins-workspace/security/advisories/GHSA-vw89-89jm-wmqc","https://github.com/tauri-apps/plugins-workspace"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/95xxx/CVE-2026-95627.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-95627","state":"PUBLISHED","datePublished":"2026-09-23T09:43:04.542Z","dateUpdated":"2026-09-23T14:22:55.260Z","assignerShortName":"JFROG","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateReserved":"2026-09-22T10:38:03.883Z"},"containers":{"cna":{"title":"Tauri framework v2 Dialog plugin auto-expands the filesystem scope with attacker-controlled recursion","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Tauri","product":"tauri-plugin-dialog","packageName":"tauri-plugin-dialog","defaultStatus":"unaffected","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"*","versionType":"semver"}],"collectionURL":"https://crates.io/crates/tauri-plugin-dialog","repo":"git://github.com/tauri-apps/plugins-workspace","programFiles":["plugins/dialog/src/commands.rs"]}],"references":[{"url":"https://github.com/tauri-apps/plugins-workspace/security/advisories/GHSA-vw89-89jm-wmqc","name":"GHSA-vw89-89jm-wmqc (tauri-apps/plugins-workspace)","tags":["issue-tracking"]},{"url":"https://github.com/tauri-apps/plugins-workspace","name":"tauri-apps/plugins-workspace repository","tags":["product"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"HIGH","baseScore":7.7,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"JFROG","orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","dateUpdated":"2026-09-23T09:43:04.542Z"},"impacts":[{"descriptions":[{"lang":"en","value":"Script in the webview gets read and write access to a whole directory tree, after one click on a dialog that looked completely normal. Aim it at the home folder and that is everything the user owns. The script does not need any privileges of its own to ask; an XSS in content the app renders is enough."}]}],"solutions":[{"lang":"en","value":"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"<p><span>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.</span></p>"}]}],"timeline":[{"time":"2026-06-28T08:23:00.000Z","lang":"en","value":"Reported to the Tauri team as GHSA-vw89-89jm-wmqc"}],"credits":[{"lang":"en","value":"Yuval Moravchick","type":"finder"},{"lang":"en","value":"JFrog Security Research","type":"coordinator"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-23T14:21:31.658846Z","id":"CVE-2026-95627","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-23T14:22:55.260Z"}}]}}}