{"id":"CVE-2026-22661","aliases":["CVE-2026-22661"],"related":[],"kind":"vulnerability","state":"published","title":"prompts.chat Path Traversal via Skill File Handling","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-03T20:26:29.340Z","modified":"2026-11-08T14:01:13.632Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"git","introduced":"0","fixed":"0f8d4c381abd7b2d7478c9fdee9522149c2d65e5","status":"affected"}],"vendor":"f","product":"prompts.chat","repo":"https://github.com/f/prompts.chat","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2026-03-25"}],"vendor":"fka","product":"prompts.chat","cpe":"cpe:2.3:a:fka:prompts.chat:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/f/prompts.chat/pull/1101","tags":["issue-tracking","patch","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Mehmet Ince @mdisec"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-04-06T15:54:55.303Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22661","url":"https://www.cve.org/CVERecord?id=CVE-2026-22661","licence":"CVE Terms of Use","modified":"2026-11-08T14:01:13.632Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22661","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22661","licence":"Public domain","modified":"2026-07-24T22:10:00.140Z"}],"updatedAt":"2026-11-25T22:59:17.917Z","epss":{"score":0.00424,"percentile":0.38626,"date":"2026-12-01T12:00:22.000Z"}}