CVE-2026-22661
JSON

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 packageVersionsReported by
f prompts.chatbefore 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5CVE List
fka prompts.chatbefore 2026-03-25NVD

All scores

VulnCheck8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2026-22661 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-22661 changed 2026-07-24Public domain