8.6high
prompts.chat Path Traversal via Skill File Handling
- Severity
- 8.6high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| f prompts.chat | before 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 | CVE List |
| fka prompts.chat | before 2026-03-25 | NVD |
All scores
| VulnCheck | 8.6high CVSS:4.0 | 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 | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
prompts.chat anterior al commit 0f8d4c3 contiene una vulnerabilidad de salto de ruta en el manejo de archivos de habilidad que permite a los atacantes escribir archivos arbitrarios en el sistema del cliente mediante la creación de archivos ZIP maliciosos con nombres de archivo no saneados que contienen secuencias de salto de ruta. Los atacantes pueden explotar la falta de validación de nombres de archivo en el lado del servidor para inyectar secuencias de salto de ruta ../ en los archivos de habilidad, que, al ser extraídos por herramientas vulnerables, escriben archivos fuera del directorio previsto y sobrescriben archivos de inicialización de shell para lograr la ejecución de código.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22661 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-22661 changed 2026-07-24 | Public domain |