Skip to main content

SillyTavern EUVDEUVD-2026-33397

| CVE-2026-46372 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-19 https://github.com/SillyTavern/SillyTavern GHSA-qg89-qwwh-5f3j
8.5
CVSS 3.1 · Vendor: https://github.com/SillyTavern/SillyTavern
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to SillyTavern instance
  2. Delivery
    Fetch CSRF token from /csrf-token
  3. Exploit
    POST crafted baseUrl to /api/search/searxng
  4. Execution
    Server fetches attacker-chosen internal URL
  5. Persist
    Internal service response returned to attacker
  6. Impact
    Exfiltrate cloud metadata or internal data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid SillyTavern session against a 1.17.0 (or earlier) instance and the ability to send an authenticated POST to /api/search/searxng with a valid X-CSRF-Token retrieved from /csrf-token. PR:L authentication is enforced by the login middleware in src/server-main.js, but the advisory explicitly notes the equivalent precondition is also satisfied by 'a deployment where user accounts are disabled' (basicAuthMode/whitelistMode off), which is the default for trusted single-user installs. Limiting factors: the attacker must reach the SillyTavern HTTP port over the network (the project is intentionally designed for trusted local use); the new 1.18.0 Private Request Whitelisting feature, if enabled, blocks exploitation, but it is disabled by default even on patched installs. No user interaction by another victim is required, and any HTTP-reachable service from the SillyTavern host's network position is in scope.

Impact

The CVSS:3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N yields 8.5 (High), reflecting that an authenticated low-privilege user can pivot scope to internal services (S:C) and read sensitive responses (C:H). EPSS and CISA KEV data are not provided in the input, so widespread exploitation probability is unknown; given that SillyTavern is a self-hosted hobbyist/community application typically deployed in trusted single-user contexts, mass exploitation is unlikely but targeted abuse of multi-user or publicly exposed instances is realistic. The advisory itself documents a working PoC, so publicly available exploit code exists. The realistic risk hinges on deployment: a single-user localhost install is low risk, while networked multi-user deployments without the new 1.18.0 whitelist enabled are exposed to internal-network reconnaissance and cloud metadata theft. Note that PR:L plus the maintainer's statement that 'access to a deployment where user accounts are disabled' also enables exploitation creates ambiguity - if basicAuthMode/whitelistMode is off, the effective privilege requirement collapses to none.

Exploit ScenarioDerived

An attacker who has obtained or self-registered a low-privilege account on an exposed SillyTavern 1.17.0 instance retrieves a CSRF token from /csrf-token, then POSTs to /api/search/searxng with baseUrl set to http://169.254.169.254/ on AWS or http://127.0.0.1:<port>/ targeting an internal admin panel. The server fetches /search against that base and returns the response body verbatim, leaking IAM credentials or internal service data; the PoC in the published advisory demonstrates the loopback-fetch path end to end.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 2.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 19, 2026

Server-side request forgery in SillyTavern 1.17.0 allows authenticated low-privilege users to coerce the server into making arbitrary HTTP requests against internal or loopback addresses via the /api/search/searxng endpoint's unvalidated baseUrl parameter, returning response bodies to the attacker. The flaw was addressed in 1.18.0, which introduced an opt-in Private Request Whitelisting filter (disabled by default). Publicly available exploit code exists in the GitHub Security Advisory GHSA-qg89-qwwh-5f3j, but no public exploit identified at time of analysis as actively exploited.

RemediationAI

Vendor-released patch: upgrade to SillyTavern 1.18.0 or later, then explicitly enable and configure the new Private Request Whitelisting feature, which is shipped disabled by default - see https://docs.sillytavern.app/administration/config-yaml/#private-address-whitelisting and the administrator security checklist at https://docs.sillytavern.app/administration/#security-checklist. Upgrading without enabling the whitelist does not mitigate the issue. For deployments that cannot upgrade immediately, restrict network egress from the SillyTavern host via host-level firewall rules to block outbound connections to RFC1918 ranges, 127.0.0.0/8, and 169.254.169.254/32 (trade-off: breaks any legitimate self-hosted SearXNG instance), disable user self-registration and rotate credentials to limit who can reach the authenticated endpoint, and place the application behind a reverse proxy that strips or blocks POSTs to /api/search/searxng (trade-off: breaks the SearXNG search feature entirely). Refer to GHSA-qg89-qwwh-5f3j for the canonical advisory.

Affected VersionsENISA

SillyTavern < 1.18.0

Affected Packages

npm sillytavern fix: 1.18.0

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

SillyTavern is a Node.js/Express-based front-end for large language model interactions, distributed via npm as the 'sillytavern' package. The vulnerability is a classic CWE-918 (Server-Side Request Forgery) in src/endpoints/search.js: the POST /api/search/searxng handler reads a user-supplied baseUrl from the JSON body and passes it directly into new URL() and node-fetch without any allowlist, IP-range check, DNS resolution check, or scheme restriction. Because src/server-main.js applies login middleware before mounting the /api/search router from src/server-startup.js, the sink is reachable by any logged-in account, regardless of privilege. The fetch call uses default behavior, which honors HTTP, HTTPS, and follows redirects, expanding the reachable surface to loopback, RFC1918, link-local (including cloud metadata 169.254.169.254), and any host the SillyTavern process can route to.

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

Vendor (https://github.com/SillyTavern/SillyTavern) PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Primary rating from Vendor (https://github.com/SillyTavern/SillyTavern) · only source for this CVE.

CVSS VectorVendor: https://github.com/SillyTavern/SillyTavern

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

DescriptionCVE.org

Resolution

SillyTavern 1.18.0 added a generic server-side request filter (Private Request Whitelisting). Since we expect users to use the application in a trusted environment, the filter is disabled by default, however it is strongly advised to be enabled and properly configured when an instance is being hosted over a network, as suggested by a console warning message and an officially published security checklist for administrators.

Documentation:

  • https://docs.sillytavern.app/administration/config-yaml/#private-address-whitelisting
  • https://docs.sillytavern.app/administration/#security-checklist

Note on future SSRF findings

Since the request filter applies to the entire application, no SSRF vulnerabilities against individual endpoints will be accepted, unless it has been proven that a properly configured and enabled filter can be bypassed in an undocumented way. Only advisories disclosed before the 1.18.0 release will be posted if their concern is SSRF.

Summary

SillyTavern 1.17.0 exposes /api/search/searxng, which accepts attacker-controlled baseUrl and uses it directly to build outbound server-side fetches. An authenticated low-privilege user can point baseUrl at an internal or loopback HTTP service and receive the /search response body.

Confirmed version: SillyTavern 1.17.0 from the audited source tree. Broader affected versions and patched versions should be confirmed by the maintainer.

Details

The /api/search/searxng route in src/endpoints/search.js reads baseUrl from request.body and performs no allowlist, IP range, DNS, or scheme validation before making outbound requests.

Core vulnerable path:

js
router.post('/searxng', async (request, response) => {
    const { baseUrl, query, preferences, categories } = request.body;
    if (!baseUrl || !query) {
        return response.status(400).send('Missing required parameters');
    }

    const mainPageUrl = new URL(baseUrl);
    const mainPageRequest = await fetch(mainPageUrl, { headers: visitHeaders });
    ...
    const searchUrl = new URL('/search', baseUrl);
    const searchParams = new URLSearchParams();
    searchParams.append('q', query);
    ...
    const searchResult = await fetch(searchUrl, { headers: visitHeaders });
    ...
    const data = await searchResult.text();
    return response.send(data);
});

src/server-startup.js mounts this router at /api/search, and src/server-main.js applies login middleware before the API routes. This means the source is a remote authenticated POST request and the sink is server-side fetch() to attacker-selected hosts.

PoC

Attacker prerequisites: a valid SillyTavern web session, or access to a deployment where user accounts are disabled.

Start an internal mock service on the target host:

js
import http from 'node:http';

http.createServer((req, res) => {
  if (req.url === '/') {
    res.writeHead(200, { 'Content-Type': 'text/html' });
    return res.end('<html><head><link href="/client.css" rel="stylesheet"></head></html>');
  }
  if (req.url === '/client.css') {
    res.writeHead(200, { 'Content-Type': 'text/css' });
    return res.end('body{}');
  }
  if (req.url.startsWith('/search?q=')) {
    res.writeHead(200, { 'Content-Type': 'text/plain' });
    return res.end('INTERNAL-SEARCH-RESULT');
  }
  res.writeHead(404);
  res.end('not found');
}).listen(9091, '127.0.0.1');

Then send:

http
POST /api/search/searxng HTTP/1.1
Host: TARGET:8000
Cookie: session-...=...
X-CSRF-Token: <token from /csrf-token>
Content-Type: application/json

{"baseUrl":"http://127.0.0.1:9091/","query":"x"}

Result based on the route logic: SillyTavern first fetches http://127.0.0.1:9091/, then fetches http://127.0.0.1:9091/search?q=x, and returns INTERNAL-SEARCH-RESULT to the attacker.

Impact

This is an authenticated SSRF primitive with arbitrary host and port selection. It can disclose responses from loopback or internal HTTP services reachable from the SillyTavern host and may enable interaction with internal admin panels, development services, cloud metadata endpoints in applicable deployments, or service discovery across private networks.

Executive ViewAI

Why It Matters

SillyTavern 1.17.0 contains a server-side request forgery vulnerability allowing any authenticated user to force the application server to access internal resources and exfiltrate sensitive data. With publicly available exploit code existing, this vulnerability creates a direct path for insider threats or compromised user accounts to reach isolated internal infrastructure. Immediate remediation is required to restore security boundaries between application users and sensitive internal systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Upgrade to SillyTavern 1.18.0 or later and explicitly enable the Private Request Whitelisting filter in configuration (disabled by default); (2) Implement network segmentation restricting SillyTavern server outbound access to explicitly whitelisted internal services only; (3) Deploy reverse proxy WAF rules blocking /api/search/searxng requests with baseUrl parameters pointing to private IP ranges or loopback addresses.

Threat Intelligence Overview

EPSS Score
2.6%
Top 14% exploitable
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 2.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

65
Low Medium High Critical
KEV: 0
EPSS: +3
CVSS: +42
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy