CVE-2026-22661 Details
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.
A path traversal vulnerability has been identified in prompts.chat skill file handling, prior to commit 0f8d4c3. This vulnerability allows attackers to write arbitrary files to the client system by creating malicious ZIP archives with unsanitized filenames that include path traversal sequences. The absence of server-side filename validation enables the injection of these sequences, which, when the ZIP files are extracted by vulnerable tools, can overwrite shell initialization files and lead to code execution.
Users can update to the latest version of prompts.chat, as the vulnerability has been patched in commit 0f8d4c3.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 | [email protected] | Patch |
| https://github.com/f/prompts.chat/pull/1101 | [email protected] | Issue TrackingPatchVendor Advisory |
| https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fka prompts.chat | < 2026-03-25 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 26, 2026 | CVE Modified | [email protected] |
| Apr 13, 2026 | Initial Analysis | [email protected] |
| Apr 3, 2026 | New CVE Received | [email protected] |