SecurityContext

CVE-2026-22661: prompts.chat - Path Traversal & Remote Code Execution

  • Cve: CVE-2026-22661
  • Name: prompts.chat - Path Traversal & Remote Code Execution
  • 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.
  • Impact: Attackers can write arbitrary files and execute code by exploiting path traversal in skill file extraction.
  • Remediation: Update to the version including commit 0f8d4c3 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
  • Epss score: 0.00378
  • Epss percentile: 0.3219
  • Assignee: [email protected]
  • Published at: 2026-04-03T21:17:08Z
  • Age in days: 235
  • Modified at: 2026-07-24T22:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-22661
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/f/prompts.chat/commit/0f8d4c381abd7b2d7478c9fdee9522149c2d65e5Patch
https://github.com/f/prompts.chat/pull/1101Issue Tracking, Patch, Vendor Advisory
https://www.vulncheck.com/advisories/prompts-chat-path-traversal-via-skill-file-handlingThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
fka:prompts.chat< 2026-03-25nonvd/v1/products/fka/prompts.chat

Projects

RepositoryLink kindsIndexedUrl
f/prompts.chatcna_commit, commit, pullyes/v1/repositories/f/prompts.chat

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts