# CVE-2026-22661: prompts.chat Path Traversal via Skill File Handling

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-04-03T20:26:29.340Z
- Modified: 2026-11-08T14:01:13.632Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- f prompts.chat: before 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
- fka prompts.chat: before 2026-03-25

## Every score

- VulnCheck: CVSS:4.0 8.6 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/f/prompts.chat/pull/1101> (issue-tracking, patch, vendor-advisory)
- <https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5> (patch)
- <https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-22661](https://www.cve.org/CVERecord?id=CVE-2026-22661), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-22661](https://nvd.nist.gov/vuln/detail/CVE-2026-22661), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-22661 · Whole record: https://cve.day/CVE-2026-22661.json · Rebuilt by cve.day 2026-11-25T22:59:17.917Z
