CVE-2026-22661 prompts.chat Path Traversal via Skill File Handling
Attackers can achieve code execution by uploading malicious ZIP archives with path traversal sequences to overwrite shell initialization files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-22661?
CVE-2026-22661 is a high-severity path traversal vulnerability in f prompts.chat, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-22661?
It affects 1 product.
Products include Fka Prompts.chat.
How do I fix CVE-2026-22661?
No fix has been published for CVE-2026-22661 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-22661 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22661 exists.
Other vulnerabilities in f prompts.chat
Sources
Also known as GHSA-3pwg-7q4v-jff5.