Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-34526 EUVD-2026-18444GHSA-wm7j-m6jm-8797

SillyTavern: Incomplete IP validation in /api/search/visit allows SSRF via localhost and IPv6

Published Apr 2, 2026 · Updated Apr 2, 2026 · Assigned by GitHub_M

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, 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 -> 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.

Affected products

VendorProductAffectedFixed
SillyTavern SillyTavern < 1.17.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm sillytavern < 1.17.0 1.17.0 GHSA-wm7j-m6jm-8797

References