Nearby file disclosure via unescaped glob metacharacters
Published Nov 10, 2022 · Updated Apr 23, 2025
Improper access control in Tauri 1.0.0 through 1.0.6 and 1.1.0 through 1.1.1 allows attackers to read nearby files via crafted paths. File-dialog and drag-and-drop handlers add selected paths to the filesystem allowlist without escaping glob metacharacters, so the scope matcher expands those characters as patterns. Exploitation requires selection of a pre-existing malicious file or directory plus adversary-controlled logic; access remains limited to neighboring files and subdirectories of an allowed path.
Summary
What happened
Improper access control in Tauri 1.0.0 through 1.0.6 and 1.1.0 through 1.1.1 allows attackers to read nearby files via crafted paths. File-dialog and drag-and-drop handlers add selected paths to the filesystem allowlist without escaping glob metacharacters, so the scope matcher expands those characters as patterns. Exploitation requires selection of a pre-existing malicious file or directory plus adversary-controlled logic; access remains limited to neighboring files and subdirectories of an allowed path.
The record
- CVE
- CVE-2022-41874
- Published
- Nov 10, 2022
- Updated
- Apr 23, 2025
- Vendor
- Tauri Apps
- Product
- Tauri
- Classifications
- CWE-668, CWE-706, CWE-284, T1005
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 10, 2022CVE publishedPublication date reported by the CVE source.
- Apr 23, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 1.0.0, <1.0.7
- Affected versionversion=>= 1.1.0, <1.1.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo