Skip to content
Heist/ feed
Back to feed
Medium

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-34526
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:22 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 2 Apr 2026, 17:16 UTC

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.

osv:CVE-2026-34526
Complete source record
{
  "id": "5fc655ddbc7e57d00181d1cced6df20a2620b86cb1ca2ad5e04325f9175ffaab",
  "url": "https://osv.dev/vulnerability/CVE-2026-34526",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SillyTavern: Incomplete IP validation in /api/search/visit allows SSRF via localhost and IPv6",
    "summary": "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.",
    "evidence": "osv:CVE-2026-34526",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-34526",
      "aliases": [
        "CVE-2026-34526",
        "GHSA-wm7j-m6jm-8797"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sillytavern/sillytavern",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "e3f41666c69db032e17e079fcddcf40cf47e8593"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.17.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "e3f41666c69db032e17e079fcddcf40cf47e8593"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.17.0"
                  },
                  {
                    "cpe": "cpe:2.3:a:sillytavern:sillytavern:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.17.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.142891501Z",
      "provider": "osv",
      "references": [
        "https://github.com/SillyTavern/SillyTavern/releases/tag/1.17.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34526.json",
        "https://github.com/SillyTavern/SillyTavern/security/advisories/GHSA-wm7j-m6jm-8797",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34526"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34526.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34526",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490522,
  "published_at": "2026-04-02T17:16:55.897+00:00"
}