Skip to main content

SillyTavern CVE-2026-44652

| EUVDEUVD-2026-33399 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-12 https://github.com/SillyTavern/SillyTavern GHSA-ccfq-2454-f5xw
6.9
CVSS 4.0 · Vendor: https://github.com/SillyTavern/SillyTavern
Share

Severity by source

Vendor (https://github.com/SillyTavern/SillyTavern) PRIMARY
6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.8 MEDIUM

Network-reachable SSRF with no auth (PR:N); scope changes as server reaches internal systems (S:C); confidentiality-only, limited impact (C:L), consistent with vendor's CVSS 4.0 VC:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/SillyTavern/SillyTavern).

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

4
Source Code Evidence Fetched
Jul 23, 2026 - 19:09 vuln.today
Analysis Generated
Jul 23, 2026 - 19:09 vuln.today
CVSS changed
May 29, 2026 - 19:22 NVD
6.9 (MEDIUM)
CVE Published
May 12, 2026 - 22:24 nvd
MEDIUM

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.

Overview

  • Vulnerability Type: SSRF
  • Affected Location: src/middleware/corsProxy.js:31
  • Trigger Scenario: SSRF in optional CORS proxy

Root Cause

corsProxyMiddleware forwards req.params.url directly into fetch(url, ...). It only blocks circular requests to its own host and does not enforce destination allowlist or private/loopback restrictions, enabling SSRF.

Source-to-Sink Chain

  1. Source (user-controlled input)
  • Entry point: GET /proxy/:url(*)
  1. Data flow
  • Code analysis shows concrete propagation into this sink:
  • vulnerability title: SSRF in optional CORS proxy
  • sink location reached by attacker-controlled input: src/middleware/corsProxy.js:31
  • The same sink behavior is confirmed by controlled execution observations.
  1. Sink (dangerous operation)
  • Sink location: src/middleware/corsProxy.js:31
  • Vulnerable behavior: SSRF in optional CORS proxy

Exploitation Preconditions

  1. The attacker can control or influence a URL/endpoint parameter.
  2. The server can access internal or sensitive network targets.
  3. Outbound request validation or redirect controls are insufficient.

Risk

This issue can be used to pivot network access and reach unintended internal resources.

Impact

An attacker may access internal network services or metadata endpoints and exfiltrate sensitive responses.

Remediation

  1. Enforce strict destination allowlist for proxy targets.
  2. Block loopback, link-local, RFC1918, and metadata address ranges.
  3. Apply the same destination validation to redirects.

AnalysisAI

Server-Side Request Forgery in SillyTavern's optional CORS proxy middleware allows unauthenticated remote attackers to pivot through the server and reach internal network resources, cloud metadata endpoints, or RFC1918 services. All versions up to and including 1.17.0 (npm package pkg:npm/sillytavern) are affected via the GET /proxy/:url(*) endpoint, where corsProxyMiddleware in src/middleware/corsProxy.js:31 forwards attacker-controlled URLs directly to fetch() without destination allowlisting or private-range blocking. No public exploit has been identified at time of analysis, and the EPSS score of 0.01% (2nd percentile) reflects negligible observed exploitation activity; however, publicly hosted instances without network-level controls present meaningful exposure to internal service probing.

Technical ContextAI

SillyTavern is an AI companion and chat frontend application distributed as an npm package (pkg:npm/sillytavern). The vulnerability is classified under CWE-918 (Server-Side Request Forgery). The optional CORS proxy feature - intended to allow the browser-based frontend to reach external AI API endpoints that lack CORS headers - is implemented in src/middleware/corsProxy.js. At line 31, the corsProxyMiddleware handler receives the full URL from the Express route parameter req.params.url and passes it directly to Node.js's native fetch() API. The only implemented guard is a self-referential request check (blocking the proxy from calling itself), with no enforcement of destination allowlists, RFC1918 address blocking, loopback/link-local restrictions, or cloud metadata range filtering (e.g., 169.254.169.254). This is a classic source-to-sink SSRF: user-controlled input flows unvalidated into a server-side outbound network call.

RemediationAI

Upgrade to SillyTavern 1.18.0 or later, which introduces a Private Address Whitelisting filter as a generic server-side SSRF defense. The vendor-released patch is confirmed at https://github.com/SillyTavern/SillyTavern/releases/tag/1.18.0. Critically, the private address whitelist is disabled by default in 1.18.0; administrators hosting instances over any network must explicitly enable and configure it per the documentation at https://docs.sillytavern.app/administration/config-yaml/#private-address-whitelisting and follow the security checklist at https://docs.sillytavern.app/administration/#security-checklist. For instances that cannot immediately upgrade, disable the optional CORS proxy feature entirely if it is not operationally required - this eliminates the attack surface with no other functional impact. As a compensating network control, restrict access to the SillyTavern server port to trusted source IPs only, which prevents unauthenticated external callers from reaching the proxy endpoint. Blocking outbound server connections to RFC1918, loopback, and link-local ranges at the firewall layer (e.g., iptables OUTPUT rules) is an additional defense-in-depth measure that limits SSRF pivot reach even if the endpoint remains accessible.

Share

CVE-2026-44652 vulnerability details – vuln.today

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