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.
Published: 2026-08-30
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Arbitrary File Write leading to code execution
Action: Immediate Patch
AI Analysis

Impact

Pake versions prior to 3.13.1 concatenates the filename supplied via the download_file Tauri command without sanitization, allowing attackers to supply a path containing traversal characters or an absolute path. The application then downloads content from the supplied URL and writes it to the resolved file location. An attacker can exploit this to overwrite files that the user can write, such as macOS LaunchAgents, Linux autostart entries, or Windows Startup files, enabling persistence and execution of malicious code within the user's account.

Affected Systems

The vulnerability affects the open‑source Pake framework (tw93:Pake) in all desktop applications generated from a Pake tree compiled with a version older than 3.13.1. The issue is present on macOS, Linux, and Windows platforms where the application runs with user privileges.

Risk and Exploitability

The vulnerability receives a CVSS score of 8.8, indicating a high severity. Though the EPSS score is not available, the scoping of the flaw suggests it is both high in potential impact and likely to be exploited in environments where malicious code can command the download_file feature, such as through a script that runs with the application. The vulnerability is not listed in CISA’s KEV catalog. The prevalent attack vector is local or via a malicious script that can invoke the Tauri command, requiring the victim to run a compromised Pake‑based application.

Generated by OpenCVE AI on August 30, 2026 at 13:51 UTC.

Remediation

Vendor Solution

Upgrade Pake to 3.13.1 or later and rebuild generated apps from that tree. The fix introduces sanitize_download_filename and uses only the final path segment before joining onto the Downloads directory, so ../ and absolute paths cannot escape that directory.


OpenCVE Recommended Actions

  • Upgrade Pake to version 3.13.1 or later and rebuild all generated applications from that source tree to apply the download_filename sanitization fix.
  • Restrict or disable the download_file Tauri command in the application configuration to prevent arbitrary file writes until a patch is available.
  • As a temporary safeguard, enforce strict write permissions on the user's Downloads directory so that only the trusted application can write, limiting abuse of path traversal.

Generated by OpenCVE AI on August 30, 2026 at 13:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 20:45:00 +0000

Type Values Removed Values Added
First Time appeared Faberon
Faberon pake
CPEs cpe:2.3:a:faberon:pake:*:*:*:*:*:*:*:*
Vendors & Products Faberon
Faberon pake

Mon, 31 Aug 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 31 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
First Time appeared Tw93
Tw93 pake
Vendors & Products Tw93
Tw93 pake

Sun, 30 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title Pake arbitrary file write via unsanitized download_file filename
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published:

Updated: 2026-08-31T16:58:51.598Z

Reserved: 2026-08-30T12:09:20.896Z

Link: CVE-2026-82635

cve-icon Vulnrichment

Updated: 2026-08-31T16:58:47.472Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-30T13:16:56.923

Modified: 2026-09-04T20:32:15.300

Link: CVE-2026-82635

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T11:19:10Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')