Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.1
CVE-2026-22661: prompts.chat may let attackers write files to your system
CVE-2026-22661 · published 7 months ago
Summary
The prompts.chat application can be tricked into saving files wherever it wants if a user opens a specially crafted ZIP file. This could let an attacker overwrite important settings and run their own code on the affected machine. Update to the latest version or stop using older builds to prevent the risk.
What to do
- Update fka prompts.chat to version 2026-03-25 or later.
- Update f prompts.chat to version 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| fka | prompts.chat |
< 2026-03-25 cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:* |
| f | prompts.chat | < 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 |
Original advisory text
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.
References
- https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-... Vendor Advisory
- https://github.com/f/prompts.chat/pull/1101 Third Party Advisory
- https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e... Patch
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22661... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-22661 Vendor Advisory
- https://github.com/f/prompts.chat Product
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-22Path Traversal
Timeline
Published3 Apr 2026
Updated10 Nov 2026
First seen3 Apr 2026
Track software like this
Free during beta