Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sillytavern
  4. ›
  5. CVE-2026-34522

CVE-2026-34522: SillyTavern has a path traversal in `/api/chats/import` allows arbitrary file write outside intended chat directory

April 1, 2026 (updated April 6, 2026)

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.

References

  • github.com/SillyTavern/SillyTavern
  • github.com/SillyTavern/SillyTavern/releases/tag/1.17.0
  • github.com/SillyTavern/SillyTavern/security/advisories/GHSA-xvww-xhx6-22pf
  • github.com/advisories/GHSA-xvww-xhx6-22pf
  • nvd.nist.gov/vuln/detail/CVE-2026-34522

Code Behaviors & Features

Detect and mitigate CVE-2026-34522 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.17.0

Fixed versions

  • 1.17.0

Solution

Upgrade to version 1.17.0 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

npm/sillytavern/CVE-2026-34522.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:17:40 +0000.