SillyTavern: Path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-34522
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 06:00 UTC · Revision 1
Source evidence
SillyTavern: Path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory
core-osv · Original sourcePublished 2 Apr 2026, 17:13 UTC
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.
osv:CVE-2026-34522
Complete source record
{
"id": "26c87b420f719971cf40f795bff987f6de05f2fcb53eef2a250f3bef8ca3eea0",
"url": "https://osv.dev/vulnerability/CVE-2026-34522",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SillyTavern: Path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory",
"summary": "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.",
"evidence": "osv:CVE-2026-34522",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-34522",
"aliases": [
"CVE-2026-34522",
"GHSA-xvww-xhx6-22pf"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sillytavern/sillytavern",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "e3f41666c69db032e17e079fcddcf40cf47e8593"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.17.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "e3f41666c69db032e17e079fcddcf40cf47e8593"
}
],
"source": "REFERENCES_TAG",
"original_tag": "1.17.0"
},
{
"cpe": "cpe:2.3:a:sillytavern:sillytavern:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.17.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.16.0",
"1.15.0",
"1.14.0",
"1.13.5",
"1.13.4",
"1.13.3",
"1.13.2",
"1.13.1",
"1.13.0",
"1.12.14",
"1.12.13",
"1.12.12",
"1.12.11",
"1.12.10",
"1.12.9",
"1.12.8",
"1.12.7",
"1.12.6",
"1.12.5",
"1.12.4",
"1.12.3",
"1.12.2",
"1.12.1",
"1.12.0-6",
"1.12.0",
"1.11.8",
"1.11.7",
"1.11.6",
"1.11.5",
"1.11.4-1",
"1.11.4",
"1.11.3",
"1.11.2",
"1.11.1",
"1.11.0",
"1.10.10",
"1.10.9",
"1.10.8",
"1.10.7",
"1.10.6",
"1.10.5",
"1.10.4",
"1.10.3",
"1.10.2",
"1.10.1",
"1.10.0",
"1.9.7",
"1.9.6",
"1.9.5",
"1.9.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34522.json"
}
}
],
"modified": "2026-10-28T02:30:43.160418122Z",
"provider": "osv",
"references": [
"https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34522.json",
"https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-xvww-xhx6-22pf",
"https://nvd.nist.gov/vuln/detail/CVE-2026-34522"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-73"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34522.json"
}
},
"related_cves": [
{
"value": "CVE-2026-34522",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510913,
"published_at": "2026-04-02T17:13:44.322+00:00"
}