Skip to content
Heist/ feed
Back to feed
High

Pake arbitrary file write via unsanitized download_file filename

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-82635
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:31 UTC · Revision 1

Source evidence

Pake arbitrary file write via unsanitized download_file filename

core-osv · Original source

Published 30 Aug 2026, 12:26 UTC

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.

osv:CVE-2026-82635
Complete source record
{
  "id": "c7cd8d098031bf05edef5d232fadd8bd6dbe3103cf146a23bf1870407047f9a1",
  "url": "https://osv.dev/vulnerability/CVE-2026-82635",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Pake arbitrary file write via unsanitized download_file filename",
    "summary": "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.",
    "evidence": "osv:CVE-2026-82635",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-82635",
      "aliases": [
        "CVE-2026-82635"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "git://github.com/tw93/pake",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ad6f9b79fde1c2aa4a6e6482e3501bbfe631d856"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.13.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/tw93/pake",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ad6f9b79fde1c2aa4a6e6482e3501bbfe631d856"
                },
                {
                  "fixed": "a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:faberon:pake:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.13.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "ad6f9b79fde1c2aa4a6e6482e3501bbfe631d856"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "V3.13.1"
                  }
                ]
              }
            }
          ],
          "versions": [
            "V3.12.0",
            "V3.11.10",
            "V3.11.8",
            "V3.11.7",
            "V3.11.5",
            "V3.11.0",
            "V3.10.0",
            "V3.9.1",
            "V3.8.1",
            "V3.6.0",
            "V3.5.1",
            "V3.4.3",
            "V3.4.2",
            "V3.4.0",
            "V3.3.5",
            "V3.2.16",
            "V3.1.1",
            "V3.0.3",
            "V3.0.0",
            "V2.6.0",
            "V2.5.1",
            "V2.5.0",
            "V2.3.6",
            "V2.3.2",
            "V2.3.0",
            "V0.2.0-alpha",
            "V0.2.0",
            "V0.1.0-alpha",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-82635.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.215305750Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82635.json",
        "https://github.com/tw93/Pake/releases/tag/V3.13.1",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-82635",
        "https://github.com/tw93/Pake/commit/a5463a84d6e36705ee0dd1886cf0e4b5a75b0ab4",
        "https://github.com/tw93/Pake"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-22"
        ],
        "cna_assigner": "JFROG",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82635.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-82635",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 509065,
  "published_at": "2026-08-30T12:26:16.77+00:00"
}