# CVE-2026-82635: Pake arbitrary file write via unsanitized download_file filename

- Severity: High 8.8 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-08-30T12:26:16.770Z
- Modified: 2026-09-04T20:32:15.300Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: JFROG

## Description

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.

(As written by CVE List.)

## Affected

- tw93 Pake: before 3.13.1
- faberon pake: before 3.13.1

## References

- <https://github.com/tw93/Pake/commit/a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4> (patch, vendor-advisory)
- <https://github.com/tw93/Pake/releases/tag/V3.13.1> (release-notes, vendor-advisory)
- <https://github.com/tw93/Pake> (product)

## Sources

- CVE List: [CVE-2026-82635](https://www.cve.org/CVERecord?id=CVE-2026-82635), CVE Terms of Use, modified 2026-08-31
- NVD: [CVE-2026-82635](https://nvd.nist.gov/vuln/detail/CVE-2026-82635), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-82635 · Whole record: https://cve.day/CVE-2026-82635.json · Rebuilt by cve.day 2026-11-25T22:59:35.765Z
