CVE-2026-22661

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

Configuration 1 (hide)

cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:*

History

24 Jul 2026, 22:10

Type Values Removed Values Added
Summary
  • (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.

26 May 2026, 14:16

Type Values Removed Values Added
Summary (en) 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 write files outside the intended directory and overwrite shell initialization files to achieve code execution. (en) 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.

13 Apr 2026, 18:23

Type Values Removed Values Added
First Time Fka
Fka prompts.chat
References () https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 - () https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 - Patch
References () https://github.com/f/prompts.chat/pull/1101 - () https://github.com/f/prompts.chat/pull/1101 - Issue Tracking, Patch, Vendor Advisory
References () https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling - () https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling - Third Party Advisory
CPE cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:*

03 Apr 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-03 21:17

Updated : 2026-07-24 22:10


NVD link : CVE-2026-22661

Mitre link : CVE-2026-22661

CVE.ORG link : CVE-2026-22661


JSON object : View

Products Affected

fka

  • prompts.chat
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')