CVE-2026-34524
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to chat application
-
DeliverySupply crafted avatar_url parameter with '..' traversal
-
ExploitBypass weak filename validator
-
ExecutionAccess arbitrary files in user data directory
-
ImpactRead or delete sensitive configuration files
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated user account required on SillyTavern chat endpoint. Attacker must send crafted requests with avatar_url parameter containing traversal segments (e.g., '..') to read/delete arbitrary files under user data root directory. No victim interaction needed. |
| Impact | Real-world risk is HIGH for exposed deployments despite requiring authentication (PR:L). The CVSS 8.3 score accurately reflects the severity: network-accessible (AV:N), low attack complexity (AC:L), no user interaction required (UI:N), and impact across confidentiality and integrity (C:H/I:H/A:L). The publicly available proof-of-concept includes complete working curl commands with detailed exploitation steps, significantly lowering the skill barrier. SSVC analysis indicates high technical impact (arbitrary file read/delete of credential stores), clear exploitation status (POC public), and high automatability (simple HTTP API calls). The vulnerability is particularly dangerous in multi-user SaaS deployments or internet-facing instances where authenticated users could steal API secrets from secrets.json or sabotage other users by deleting configuration files. Single-user localhost installations face lower practical risk but remain vulnerable if the application is network-accessible. No CISA KEV listing exists, suggesting no confirmed widespread active exploitation, but the POC publication timeline and straightforward attack vector warrant immediate patching priority. |
| Exploit ScenarioDerived | An authenticated attacker with valid session credentials obtains a CSRF token through normal application use, then crafts malicious HTTP POST requests to the /api/chats/export endpoint with avatar_url set to '..' and file set to 'secrets.json'. The server's path.join() operation resolves the traversal, reading and returning the contents of the secrets file containing API keys, database credentials, or third-party service tokens. The attacker then issues a DELETE request with avatar_url='..' and chatfile='settings.json' to destroy the victim's application configuration, causing denial of service and potentially locking the legitimate user out of their account. In multi-tenant deployments, this enables cross-user data theft and sabotage. Publicly available exploit code exists with complete working proof-of-concept commands requiring only standard HTTP tools like curl. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Path traversal in SillyTavern's chat API allows authenticated attackers to read and delete sensitive configuration files (secrets.json, settings.json) outside the intended chats directory by exploiting insufficient input validation on the avatar_url parameter. The vulnerability (CVSS 8.3) permits traversal using '..' segments due to a regex validator that only blocks '/' and NUL bytes. Publicly available exploit code exists with working proof-of-concept commands provided in the GitHub advisory. EPSS data not available, but the straightforward exploitation path (AV:N/AC:L/PR:L) and availability of working POC code present significant risk for multi-user or internet-facing SillyTavern deployments. Vendor-released patch available in version 1.17.0.
RemediationAI
Upgrade immediately to SillyTavern version 1.17.0 or later, which addresses the path traversal vulnerability through improved input validation. The patch enhances the validateFileName middleware to properly reject '..' traversal sequences in addition to the existing '/' and NUL byte blocks. Organizations unable to upgrade immediately should implement network-level access controls to restrict the /api/chats/* endpoints to trusted users only and consider disabling remote network access entirely if the application is intended for single-user localhost operation. Review application logs for suspicious avatar_url parameters containing '..' sequences to identify potential exploitation attempts. Verify that secrets.json and settings.json files have not been accessed or modified by unauthorized users. Full remediation details and security advisory available at https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-vprr-q85p-79mf.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SillyTavern is a Node.js-based chat interface application (npm package). The vulnerability stems from CWE-22 (Path Traversal) in the middleware input validation layer. The validateFileName.js module uses a regex pattern that blocks forward slashes and NUL bytes but fails to sanitize '..' traversal sequences. When user-supplied avatar_url values are passed to Node.js path.join() operations in the /api/chats/export and /api/chats/delete endpoints, the '..' segments resolve upward from the intended <user>/chats/ directory to the parent <user>/ directory. This allows authenticated attackers to construct file paths that reference sensitive files like secrets.json (API credentials) and settings.json (application configuration) stored in the user data root, bypassing directory containment controls. The endpoints are protected by authentication and CSRF tokens but do not perform secondary path canonicalization checks.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Summary
A Path Traversal vulnerability in chat endpoints allows an authenticated attacker to read and delete arbitrary files under their user data root (for example secrets.json and settings.json) by supplying avatar_url="..".
Details
The input validator used by avatar_url blocks only / and NUL bytes, but does not block traversal segments like ...
Evidence:
- Weak validator regex (does not reject
..):
<https://github.com/SillyTavern/SillyTavern/blob/b7bb8be35a5c779b4db12a4a5b94d7e49096071c/src/middleware/validateFileName.js#L24-L27>
- Vulnerable delete path construction:
<https://github.com/SillyTavern/SillyTavern/blob/b7bb8be35a5c779b4db12a4a5b94d7e49096071c/src/endpoints/chats.js#L575-L577>
- Vulnerable export path construction:
<https://github.com/SillyTavern/SillyTavern/blob/b7bb8be35a5c779b4db12a4a5b94d7e49096071c/src/endpoints/chats.js#L595-L598>
- Endpoint auth context (authenticated user access):
<https://github.com/SillyTavern/SillyTavern/blob/b7bb8be35a5c779b4db12a4a5b94d7e49096071c/src/server-main.js#L239>
Because avatar_url=".." is accepted, path.join(<user>/chats, "..") resolves to <user>/, enabling direct access to files outside the chats directory.
PoC
Prerequisites:
- Valid authenticated session cookie (
cookie.txt) - Valid CSRF token (
$TOKEN)
Read sensitive file (secrets.json):
curl -b cookie.txt -H "x-csrf-token: $TOKEN" -H "content-type: application/json" \
-d '{"avatar_url":"..","is_group":false,"file":"secrets.json","format":"jsonl","exportfilename":"x"}' \
http://TARGET:8000/api/chats/exportDelete sensitive file (settings.json):
curl -b cookie.txt -H "x-csrf-token: $TOKEN" -H "content-type: application/json" \
-d '{"avatar_url":"..","chatfile":"settings.json"}' \
http://TARGET:8000/api/chats/deleteImpact
- Confidentiality: exposed per-user secrets and config data.
- Integrity/Availability: attacker can delete critical per-user files and break account operation.
- Risk is significant in multi-user or remotely reachable deployments.
Resolution
The issue was addressed in version 1.17.0
Executive ViewAI
SillyTavern versions prior to 1.17.0 contain a path traversal vulnerability in the chat API that allows authenticated users to read and delete sensitive configuration files containing secrets and settings. Organizations operating multi-user or internet-facing SillyTavern instances face immediate risk of credential exposure and system misconfiguration through a simple, low-complexity attack requiring only valid user authentication.
Vendor-released patch: version 1.17.0. Until patched, implement strict network access controls limiting SillyTavern to authenticated internal users only; disable internet-facing access; monitor file system access to secrets.json and settings.json; enforce principle of least privilege on service accounts running SillyTavern.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
GHSA-vprr-q85p-79mf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB