CVE-2026-34523
MEDIUMVulnerability 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. |
| Impact | CVSS 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) reflects low severity because the attack has no authentication barrier and is trivially exploitable, but the impact is limited to confidentiality (file existence enumeration only). EPSS exploitation probability assessment would likely be moderate to high due to simplicity of the attack vector and lack of user interaction requirement. No KEV status or public proof-of-concept code is noted beyond the curl command in the advisory itself, indicating this is not yet confirmed as actively exploited at scale, though the vulnerability is straightforward enough for weaponization if an attacker gains knowledge of the flaw. The attack complexity is low (AC:L) and requires no privileges (PR:N), making this attractive for reconnaissance by semi-skilled attackers. Real-world risk depends on deployment context: internet-facing SillyTavern instances with standard filesystem layouts are at moderate risk for information disclosure that could aid further reconnaissance. The limited impact (no code execution, no data modification, no service disruption) positions this as important for patching but not critical compared to RCE or authentication bypass vulnerabilities. Organizations running SillyTavern should prioritize this as a tier-2 remediation given the ease of exploitation and the potential for information leakage about system structure. |
| Exploit ScenarioDerived | An unauthenticated attacker discovers a SillyTavern instance on the internet and begins sending crafted requests with percent-encoded traversal sequences to static file routes (e.g., /characters/%2E%2E%2F%2E%2E%2F%2E%2E%2FUsers/admin/.ssh/id_rsa). By observing HTTP response codes, the attacker maps the server filesystem structure, identifying the presence of sensitive paths such as /root/.bash_history, /etc/passwd, or application data directories. The attacker gains no direct file contents but leverages this enumeration to refine further attacks, such as targeted credential harvesting or identification of backup locations. Public proof-of-concept code exists in the advisory (curl command), making this attack trivially reproducible by any actor with network access to the SillyTavern port. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Unauthenticated path traversal in SillyTavern static file route handlers allows remote attackers to enumerate filesystem structure by distinguishing 404 (file does not exist) from 403 (file exists but blocked) responses when submitting percent-encoded directory traversal sequences. The vulnerability affects versions prior to 1.17.0 and impacts multiple static file endpoints (/characters/*, /user/files/*, /assets/*, /user/images/*, /backgrounds/*, /User%20Avatars/*), disclosing whether arbitrary files exist on the server filesystem without authentication. File contents are not exposed due to the send module's root directory enforcement, limiting impact to information disclosure, but the fix is available and should be applied immediately.
RemediationAI
Upgrade SillyTavern to version 1.17.0 or later immediately. This patched version contains the fix to the createRouteHandler function that validates path boundaries before executing fs.existsSync. For installations using npm, execute 'npm install sillytavern@1.17.0' or higher. If immediate upgrade is not possible, the underlying mitigation is to restrict network access to the SillyTavern HTTP port to trusted networks only, limiting exposure of the file enumeration capability to authenticated or internal users. The patch address is documented in the official GitHub advisory at https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-525j-2hrj-m8fp; consult that advisory for any version-specific upgrade instructions or breaking changes.
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
The vulnerability exists in the createRouteHandler function (src/users.js:947-963) which constructs file paths by decoding percent-encoded URL parameters without validating path boundaries. The handler uses decodeURIComponent on user-supplied input (req.params[0]), allowing encoded traversal sequences like %2E%2E%2F to become ../ after decoding. The fs.existsSync check executes against the traversal-resolved path before the send module's root directory restriction is applied, creating a timing-based information leak. When res.sendFile is invoked with the resolved path, the send module correctly enforces the root boundary and returns 403 Forbidden, but by that point the fs.existsSync call has already confirmed file existence. This is a classic example of CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) combined with an information disclosure flaw stemming from conditional error handling. The root cause is the absence of path.normalize() validation or realpath checks to ensure the decoded filePath remains within the intended directory before any filesystem operations occur.
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:N/UI:N/S:U/C:L/I:N/A:N
Primary rating from Vendor (https://github.com/SillyTavern/SillyTavern) · only source for this CVE.
CVSS VectorVendor: https://github.com/SillyTavern/SillyTavern
Lifecycle Timeline
2DescriptionCVE.org
Summary
A path traversal vulnerability in the static file route handler allows any unauthenticated user to determine whether files exist anywhere on the server's filesystem. By sending percent-encoded ../ sequences (%2E%2E%2F) in requests to static file routes, an attacker can check for the existence of files (404 if it doesn't exist, 403 means it exists).
Details
The vulnerability is in createRouteHandler (src/users.js:947-963), which backs all user-data static file routes:
function createRouteHandler(directoryFn) {
return async (req, res) => {
const directory = directoryFn(req);
const filePath = decodeURIComponent(req.params[0]);
const exists = fs.existsSync(path.join(directory, filePath)); // no boundary check here
if (!exists) {
return res.sendStatus(404);
}
return res.sendFile(filePath, { root: directory });
};
}req.params[0] contains the raw (percent-encoded) wildcard from the URL. After decodeURIComponent, a request path like /characters/%2E%2E%2F%2E%2E%2FUsers/kirakira decodes to ../../Users/kirakira, and path.join resolves it outside the intended directory. res.sendFile correctly blocks the file from being served (the send module's root check returns 403), but fs.existsSync had already run, and the 403/404 distinction reveals the result.
Affected routes (they all use the same handler, so they're all affected):
/characters/*/user/files/*/assets/*/user/images/*/backgrounds/*/User%20Avatars/*
PoC
curl -o /dev/null -s -w "%{http_code}\n" "http://localhost:8000/characters/%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2F%2E%2E%2FUsers/kirakira/something"Impact
While file contents cannot be read (the send module blocks actual delivery), anyone who can reach the SillyTavern HTTP port can check the existence of files on the host filesystem.
Resolution
The issue was addressed in version 1.17.0.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
GHSA-525j-2hrj-m8fp
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB