CVE-2026-22661 PUBLISHED

prompts.chat Path Traversal via Skill File Handling

Assigner: VulnCheck
Reserved: 08.01.2026 Published: 03.04.2026 Updated: 03.04.2026

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.

Metrics

CVSS 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
CVSS Score: 8.6

Product Status

Vendor f
Product prompts.chat
Versions Default: unaffected
  • affected from 0 to 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 (excl.)

Credits

  • Mehmet Ince @mdisec finder

References

Problem Types

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') CWE