Skip to content

CVE-2026-22661 prompts.chat Path Traversal via Skill File Handling

HighCVSS 8.6 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
f/prompts.chat < 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 Fixed
fka prompts.chat < 2026-03-25 2026-03-25 Fixed

Affected products

ProductAffected versionsFixed in
f/prompts.chat < 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5 0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
fka prompts.chat < 2026-03-25 2026-03-25

References