{"answers":{"affected":"2 open source packages ship an affected version, including sillytavern. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34522 exists.","fix":"Upgrade sillytavern to 1.17.0 or later.","what":"CVE-2026-34522 is a high-severity path traversal vulnerability in SillyTavern, published on 2 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34522 and fix it if it is affected.\n\nWhat it is: CVE-2026-34522 is a high-severity path traversal vulnerability in SillyTavern, published on 2 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34522 exists.\n\nAffected packages and fixed versions:\n- sillytavern (npm): affected all versions; fixed in 1.17.0\n- sillytavern (npm): affected all versions; fixed in 1.17.0\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-34522/ (Markdown: https://insights.sbomify.com/CVE-2026-34522/index.md)","id":"CVE-2026-34522","markdown":"https://insights.sbomify.com/CVE-2026-34522/index.md","name":"CVE-2026-34522","record":{"aliases":["GHSA-xvww-xhx6-22pf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"LLM user interface","requires_auth":"low_privilege","summary":"An authenticated attacker can write arbitrary files outside the intended directory via path traversal in the chat import API, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sillytavern","vendor":"sillytavern"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"SillyTavern is a locally installed user interface that allows users to interact with text generation large language models, image generation engines, and text-to-speech voice models. Prior to version 1.17.0, a path traversal vulnerability in /api/chats/import allows an authenticated attacker to write attacker-controlled files outside the intended chats directory by injecting traversal sequences into character_name. This issue has been patched in version 1.17.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"SillyTavern: Path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory","id":"CVE-2026-34522","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"SillyTavern: Path traversal allows file existence oracle","id":"CVE-2026-34523"},"packages":[{"ecosystem":"npm","fixed":["1.17.0"],"introduced":["0"],"last_affected":[],"package":"sillytavern","purl":null,"source":"GHSA-xvww-xhx6-22pf"},{"ecosystem":"npm","fixed":["1.17.0"],"introduced":["0"],"last_affected":[],"package":"sillytavern","purl":"pkg:npm/sillytavern","source":"GHSA-xvww-xhx6-22pf"}],"prev":{"headline":"AIOHTTP's C parser (llhttp) accepts null bytes and control characters in response header values - header injection/security bypass","id":"CVE-2026-34520"},"products":["SillyTavern"],"published":"2026-04-02","related":[{"cvss_score":8.3,"headline":"SillyTavern: Path Traversal in `/api/chats/export` and `/api/chats/delete` allows arbitrary file read/delete within user data root","id":"CVE-2026-34524","kev_date_added":null,"published":"2026-04-02"},{"cvss_score":7.1,"headline":"SillyTavern has Server-Side Request Forgery (SSRF) via Asset Download Endpoint that Allows Reading Internal Services","id":"CVE-2026-26286","kev_date_added":null,"published":"2026-02-19"},{"cvss_score":5.3,"headline":"SillyTavern: Path traversal allows file existence oracle","id":"CVE-2026-34523","kev_date_added":null,"published":"2026-04-02"},{"cvss_score":5,"headline":"SillyTavern: Incomplete IP validation in /api/search/visit allows SSRF via localhost and IPv6","id":"CVE-2026-34526","kev_date_added":null,"published":"2026-04-02"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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-04-02","vendors":["SillyTavern"]},"summary":"An authenticated attacker can write arbitrary files outside the intended directory via path traversal in the chat import API, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2026-34522/"}