High severity8.1NVD Advisory· Published Apr 3, 2026· Updated May 26, 2026
CVE-2026-22661
CVE-2026-22661
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:*range: <2026-03-25
- (no CPE)range: < commit 0f8d4c3
Patches
Vulnerability mechanics
References
3- github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5nvdPatch
- github.com/f/prompts.chat/pull/1101nvdIssue TrackingPatchVendor Advisory
- www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handlingnvdThird Party Advisory
News mentions
0No linked articles in our index yet.