CVE-2026-22661HIGH 8.1EPSS p28.0%

CVE-2026-22661CVE-2026-22661

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.

Scoring

CVSS 3.18.1 (HIGH)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS0.36% probability of exploitation · percentile 28.0% · 2026-06-18T12:00:27Z
Published2026-04-03
Last modified2026-05-26

Underlying weaknesses· 1

CWE-22

References

  1. https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5
  2. https://github.com/f/prompts.chat/pull/1101
  3. https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handling

1

TypeTargetConfidenceTier
WeaknessImproper Limitation of a Pathname to a Restricted Directory ('Path Traversal')cwe-220%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2026-22665
CVE
CVE-2026-7302
CVE
CVE-2026-41863
CVE
CVE-2026-34070
CVE
CVE-2025-6853
CVE
CVE-2026-43533
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.