# CVE-2026-34524: SillyTavern path traversal in chat endpoints

Source: https://junglewise.ai/threats/cve-2026-34524-sillytavern-path-traversal-in-chat-endpoints  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-02. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-34524 · Severity: high · CVSS 8.3 · Published 2026-04-02

SillyTavern is a user interface for interacting with AI models and image generation engines. A security flaw allows logged-in users to access or delete sensitive files on the server that they should not be able to reach, such as configuration settings and secret keys. This could lead to the theft of API credentials or the disruption of the service for other users.

Technologies: [sillytavern (npm)](https://junglewise.ai/threats/technologies/sillytavern). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-34524 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34524 being exploited in the wild.

**How severe is CVE-2026-34524?** High severity, with a CVSS score of 8.3, 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-34524?** 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-34524 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-34524?** 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

  ```sh
  npm install sillytavern@1.17.0
  ```


## Technical details

A path traversal vulnerability exists in the `/api/chats/export` and `/api/chats/delete` endpoints of SillyTavern. The root cause is an insufficient input validator in `src/middleware/validateFileName.js` that fails to block directory traversal sequences (e.g., '..') in the `avatar_url` parameter. By supplying a crafted `avatar_url` value, an authenticated attacker can escape the intended 'chats' directory to access the user data root. This allows for the unauthorized reading or deletion of sensitive files like `secrets.json` and `settings.json`. The issue is resolved in version 1.17.0 by improving path validation.

## Affected products

- SillyTavern SillyTavern < 1.17.0

## Identifiers

- CVE-2026-34524
- GHSA-vprr-q85p-79mf

## 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

- [https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0](https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0)
- [https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-vprr-q85p-79mf](https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-vprr-q85p-79mf)

## Related threats

- [SillyTavern SSRF in SearXNG search proxy API](https://junglewise.ai/threats/cve-2026-46372-sillytavern-ssrf-in-searxng-search-proxy-api)
- [SillyTavern SSRF in CORS proxy middleware](https://junglewise.ai/threats/cve-2026-44652-sillytavern-ssrf-in-cors-proxy-middleware)
- [SillyTavern reflected XSS in CORS proxy middleware](https://junglewise.ai/threats/cve-2026-44651-sillytavern-reflected-xss-in-cors-proxy-middleware)
- [SillyTavern path traversal and directory deletion in extensions API](https://junglewise.ai/threats/cve-2026-44650-sillytavern-path-traversal-and-directory-deletion-in-extensions)
- [SillyTavern authentication bypass via SSO header injection](https://junglewise.ai/threats/cve-2026-44649-sillytavern-authentication-bypass-via-sso-header-injection)
