CVE-2026-22661: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in prompts.chat
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.
AI Analysis
Technical Summary
CVE-2026-22661 is a path traversal vulnerability in prompts.chat prior to commit 0f8d4c3. The issue arises from improper validation of filenames within skill file ZIP archives, allowing attackers to include path traversal sequences that cause files to be extracted outside the intended directory. This can lead to arbitrary file write on the client system, including overwriting shell initialization files, which may result in code execution. The vulnerability is remotely exploitable without privileges or user interaction beyond opening a crafted archive. It carries a CVSS 4.0 score of 8.6 (high severity). There is no vendor advisory or patch currently available.
Potential Impact
Successful exploitation allows an attacker to write arbitrary files to the client system by exploiting path traversal sequences in skill file ZIP archives. This can lead to overwriting critical files such as shell initialization scripts, potentially resulting in arbitrary code execution. The vulnerability is remotely exploitable without authentication or privileges, posing a significant risk to affected users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid opening or importing skill file ZIP archives from untrusted sources. Monitor official prompts.chat channels for updates and apply any forthcoming patches promptly.
CVE-2026-22661: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in prompts.chat
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 write files outside the intended directory and overwrite shell initialization files to achieve code execution.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-22661 is a path traversal vulnerability in prompts.chat prior to commit 0f8d4c3. The issue arises from improper validation of filenames within skill file ZIP archives, allowing attackers to include path traversal sequences that cause files to be extracted outside the intended directory. This can lead to arbitrary file write on the client system, including overwriting shell initialization files, which may result in code execution. The vulnerability is remotely exploitable without privileges or user interaction beyond opening a crafted archive. It carries a CVSS 4.0 score of 8.6 (high severity). There is no vendor advisory or patch currently available.
Potential Impact
Successful exploitation allows an attacker to write arbitrary files to the client system by exploiting path traversal sequences in skill file ZIP archives. This can lead to overwriting critical files such as shell initialization scripts, potentially resulting in arbitrary code execution. The vulnerability is remotely exploitable without authentication or privileges, posing a significant risk to affected users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid opening or importing skill file ZIP archives from untrusted sources. Monitor official prompts.chat channels for updates and apply any forthcoming patches promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-01-08T19:04:26.364Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d026ec0a160ebd92592ffe
Added to database: 4/3/2026, 8:45:32 PM
Last enriched: 4/11/2026, 9:23:41 AM
Last updated: 5/20/2026, 8:52:53 PM
Views: 46
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.