{"id":"CVE-2026-34526","summary":"SillyTavern: Incomplete IP validation in /api/search/visit allows SSRF via localhost and IPv6","details":"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, in src/endpoints/search.js, the hostname is checked against /^\\d+\\.\\d+\\.\\d+\\.\\d+$/. This only matches literal dotted-quad IPv4 (e.g. 127.0.0.1, 10.0.0.1). It does not catch: localhost (hostname, not dotted-quad), [::1] (IPv6 loopback), and DNS names resolving to internal addresses (e.g. localtest.me -\u003e 127.0.0.1). A separate port check (urlObj.port !== '') limits exploitation to services on default ports (80/443), making this lower severity than a fully unrestricted SSRF. This issue has been patched in version 1.17.0.","aliases":["GHSA-wm7j-m6jm-8797"],"modified":"2026-08-12T03:51:16.989852841Z","published":"2026-04-02T17:16:55.897Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34526.json"},"references":[{"type":"WEB","url":"https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34526.json"},{"type":"ADVISORY","url":"https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-wm7j-m6jm-8797"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34526"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sillytavern/sillytavern","events":[{"introduced":"0"},{"fixed":"e3f41666c69db032e17e079fcddcf40cf47e8593"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:sillytavern:sillytavern:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"1.17.0"}]}}],"versions":["1.16.0","1.15.0","1.14.0","1.13.5","1.13.4","1.13.3","1.13.2","1.13.1","1.13.0","1.12.14","1.12.13","1.12.12","1.12.11","1.12.10","1.12.9","1.12.8","1.12.7","1.12.6","1.12.5","1.12.4","1.12.3","1.12.2","1.12.1","1.12.0-6","1.12.0","1.11.8","1.11.7","1.11.6","1.11.5","1.11.4-1","1.11.4","1.11.3","1.11.2","1.11.1","1.11.0","1.10.10","1.10.9","1.10.8","1.10.7","1.10.6","1.10.5","1.10.4","1.10.3","1.10.2","1.10.1","1.10.0","1.9.7","1.9.6","1.9.5","1.9.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34526.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"}]}