{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22661 exists.","fix":"No fix has been published for CVE-2026-22661 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-22661 is a high-severity path traversal vulnerability in f prompts.chat, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-22661 and fix it if it is affected.\n\nWhat it is: CVE-2026-22661 is a high-severity path traversal vulnerability in f prompts.chat, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22661 exists.\n\nAffected product: f prompts.chat. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22661/ (Markdown: https://insights.sbomify.com/CVE-2026-22661/index.md)","id":"CVE-2026-22661","markdown":"https://insights.sbomify.com/CVE-2026-22661/index.md","name":"CVE-2026-22661","record":{"aliases":["GHSA-3pwg-7q4v-jff5"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"prompts.chat","requires_auth":"none","summary":"Attackers can achieve code execution by uploading malicious ZIP archives with path traversal sequences to overwrite shell initialization files.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"prompts.chat","vendor":"fka"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"prompts.chat Path Traversal via Skill File Handling","id":"CVE-2026-22661","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"prompts.chat Blind SSRF via media-generate","id":"CVE-2026-22662"},"packages":[],"prev":{"headline":"FlaskBB Logic Flaw Authorization Group Deletion via Bulk AJAX Endpoint","id":"CVE-2026-22660"},"products":["prompts.chat"],"published":"2026-04-03","related":[{"cvss_score":8.7,"headline":"prompts.chat Authorization Bypass Information Disclosure","id":"CVE-2026-22663","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":8.6,"headline":"prompts.chat Identity Confusion via Case-Sensitive Username Handling","id":"CVE-2026-22665","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":7.1,"headline":"prompts.chat SSRF via Fal.ai Media Status Polling","id":"CVE-2026-22664","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":5.3,"headline":"prompts.chat Blind SSRF via media-generate","id":"CVE-2026-22662","kev_date_added":null,"published":"2026-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-14","vendors":["f"]},"summary":"Attackers can achieve code execution by uploading malicious ZIP archives with path traversal sequences to overwrite shell initialization files.","url":"https://insights.sbomify.com/CVE-2026-22661/"}