5.3medium
SillyTavern: Path traversal allows file existence oracle
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.51% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-525j-2hrj-m8fp
Description
SillyTavern is a locally installed user interface that allows users to interact with text generation large language models, image generation engines, and text-to-speech voice models. Prior to version 1.17.0, 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. This issue has been patched in version 1.17.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SillyTavern SillyTavern | < 1.17.0, before 1.17.0 | CVE List, NVD |
| sillytavern (npm) | before 1.17.0 | GitHub Advisory Database |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
SillyTavern is a locally installed user interface that allows users to interact with text generation large language models, image generation engines, and text-to-speech voice models. Prior to version 1.17.0, 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. This issue has been patched in version 1.17.0.
GitHub Advisory Database
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.
NVD (es)
SillyTavern es una interfaz de usuario instalada localmente que permite a los usuarios interactuar con modelos de lenguaje grandes de generación de texto, motores de generación de imágenes y modelos de voz de texto a voz. Antes de la versión 1.17.0, una vulnerabilidad de salto de ruta en el gestor de rutas de archivos estáticos permite a cualquier usuario no autenticado determinar si existen archivos en cualquier parte del sistema de archivos del servidor. Al enviar secuencias "../" codificadas en porcentaje (%2E%2E%2F) en solicitudes a rutas de archivos estáticos, un atacante puede verificar la existencia de archivos. Este problema ha sido parcheado en la versión 1.17.0.
References
| https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-525j-2hrj-m8fp | exploit, vendor-advisory, web | |
| https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0 | release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-34523 | advisory | |
| https://github.com/SillyTavern/SillyTavern | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-34523 changed 2026-04-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-525j-2hrj-m8fp changed 2026-04-06 | CC-BY-4.0 |
| NVD | CVE-2026-34523 changed 2026-07-24 | Public domain |