CVE-2026-34522: SillyTavern path traversal in chat import API

CVE-2026-34522 · Severity: high · CVSS 8.1 · Published 2026-04-02

SillyTavern is a locally installed interface used to interact with AI models for text and image generation. A security flaw allows logged-in users to save files to unauthorized locations on the host computer's hard drive by manipulating character names during a chat import. This could allow an attacker to disrupt the system or place malicious files in sensitive folders, potentially compromising the stability and integrity of the host machine.

Technologies: sillytavern (npm). Vendors: npm.

Quick answers

Is CVE-2026-34522 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-34522 being exploited in the wild.
How severe is CVE-2026-34522?
High severity, with a CVSS score of 8.1, published 2 April 2026.
Which products and versions are affected?
sillytavern (npm) SEMVER:introduced=0,fixed=1.17.0.
Is there a fix for CVE-2026-34522?
Yes. sillytavern (npm): upgrade to 1.17.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-34522 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-34522?
Check whether you run sillytavern (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • sillytavern (npm): upgrade to 1.17.0 or later
    npm install sillytavern@1.17.0

Technical details

A path traversal vulnerability exists in the `/api/chats/import` endpoint of SillyTavern due to insufficient sanitization of the `character_name` parameter. The application uses this parameter to construct a destination file path via `path.join()` without neutralizing directory traversal sequences (e.g., `../`). An authenticated attacker can exploit this by submitting a crafted import request with a manipulated `character_name` to write arbitrary JSONL files to any location writable by the service account. This vulnerability is tracked as CVE-2026-34522 and was addressed in version 1.17.0 by implementing proper input sanitization.

Affected products

  • SillyTavern SillyTavern < 1.17.0

Identifiers

  • CVE-2026-34522
  • GHSA-xvww-xhx6-22pf

Timeline

  • 2026-03-28: patched: Version 1.17.0 released
  • 2026-03-30: advisory: GitHub Security Advisory published
  • 2026-04-02: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.