Pake before 3.13.1 joins the JavaScript-supplied filename for the download_file Tauri command onto the user's Downloads directory with no sanitization. A filename containing path traversal sequences (for example ../Library/LaunchAgents/com.evil.plist) or an absolute path resolves outside ~/Downloads. The command then fetches attacker-controlled content from the supplied URL (via Rust HTTP, not the browser) and writes it to that path. A script that can invoke the command can overwrite user-writable files and install persistence (macOS LaunchAgents, Linux autostart, Windows Startup), leading to code execution in the user account. All desktop apps generated from an affected Pake tree expose the same command.
References
| Link | Resource |
|---|---|
| https://github.com/tw93/Pake | Product |
| https://github.com/tw93/Pake/commit/a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4 | Patch Vendor Advisory |
| https://github.com/tw93/Pake/releases/tag/V3.13.1 | Release Notes |
Configurations
History
No history.
Information
Published : 2026-08-30 13:16
Updated : 2026-09-04 20:32
NVD link : CVE-2026-82635
Mitre link : CVE-2026-82635
CVE.ORG link : CVE-2026-82635
JSON object : View
Products Affected
faberon
- pake
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
