HarborGuard / CVE
Back to search
HIGHCVE-2026-22661Published Modified CNA VulnCheck

CVE-2026-22661: prompts.chat Path Traversal via Skill File Handling

prompts.chat prior to commit 0f8d4c3 contains a path traversal vulnerability in skill file handling that allows attackers to write arbitrary files to the client system by crafting malicious ZIP archives with unsanitized filenames containing path traversal sequences. Attackers can exploit missing server-side filename validation to inject path traversal sequences ../ into skill file archives, which when extracted by vulnerable tools writing files outside the intended directory and overwriting shell initialization files to achieve code execution.

Metrics

CVSS v4.0
8.6
Severity
HIGH
Fixed in
0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
Affected Products
1

Fix available

0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
Patch commits
Affected packages
  • f / prompts.chat
    < 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 (from 0)
CVSS Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CVE-2026-22661: prompts.chat Path Traversal via Skill File Handling | HarborGuard CVE