What’s Vulnerable › Vulnerabilities
CVE-2026-22661: prompts.chat Path Traversal via Skill File Handling
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-03 · updated 2026-07-24
- Weakness: CWE-22
Description
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.
Affected products
- Fka Prompts.Chat: before 2026-03-25 — fixed in 2026-03-25
How to fix
Upgrade to a fixed version: Fka Prompts.Chat 2026-03-25. Check the vendor advisory for mitigations.
References
- https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
- https://github.com/f/prompts.chat/pull/1101
- https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling
Get alerted when CVE-2026-22661 or the next vulnerability affects your stack