Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 71%

CVE-2026-22661: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in prompts.chat

0
High
VulnerabilityCVE-2026-22661cvecve-2026-22661cwe-22
Published: 04/03/2026 (04/03/2026, 20:26:29 UTC)
Source: CVE Database V5
Product: 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 writing files outside the intended directory and overwriting shell initialization files to achieve code execution.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

GitHub Actionsmore threats →ai
f/prompts.chat
pkg:github/f/prompts.chat
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 11:01:45 UTC

Technical Analysis

CVE-2026-22661 is a path traversal vulnerability (CWE-22) in prompts.chat prior to commit 0f8d4c3, specifically in the handling of skill file ZIP archives. The server does not properly validate filenames within uploaded ZIP files, allowing attackers to include path traversal sequences that cause extraction outside the designated directory. This can result in arbitrary file write on the client system, including overwriting shell initialization files, which may lead to remote code execution. The vulnerability has a CVSS 4.0 score of 8.6, indicating high severity. There is no vendor advisory or patch available at this time, and the product is not a cloud service.

Potential Impact

Successful exploitation allows an unauthenticated attacker to write arbitrary files to the client system by exploiting missing server-side filename validation in skill file archives. This can lead to overwriting critical files such as shell initialization scripts, enabling code execution with the privileges of the affected user. The vulnerability poses a high risk due to the potential for remote code execution and system compromise.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted skill file ZIP archives with prompts.chat version 0. Implement manual validation or sandbox extraction processes to prevent path traversal during archive extraction.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 04/03/2026, 20:45:32 UTC

Last enriched: 07/15/2026, 11:01:45 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 84

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses