CVE-2026-108545: SillyTavern Pre-Authentication Denial of Service via Malformed Body Parsing
Pre-auth multipart parser recursion triggers an unhandled event loop exception in SillyTavern, crashing active agent reasoning chains and LLM proxy bridges.
HERMES THREAT SCORE & AGENT GATEWAY RESILIENCE
Target:SillyTavern โ HTTP Ingress Middleware & Multipart Body Parser Traditional CVSS v3.1 rates this at 7.5 (High) purely as an availability loss. The Hermes Threat Score rates it at 88 (HIGH) with an Agentic Security Score (HASS) of 86 (HIGH). SillyTavern serves as an edge intermediary and tool-dispatch gateway connecting human operators and autonomous subagents to backend LLM providers. Crashing the primary Node.js process causes instant forfeiture of in-flight episodic memories, context window corruption, and cascading timeouts across automated enterprise workflows.
CVE-2026-108545: SillyTavern Pre-Authentication Denial of Service via Malformed Body ParsingVULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in SillyTavern Multi-LLM Frontend & Agent Gateway documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Vulnerability Analysis & Parser Mechanics
Section titled โ1. Technical Vulnerability Analysis & Parser MechanicsโSillyTavern embeds a custom streaming multipart/form-data handler within its Node.js Express server to ingest multimodal files, character avatars, and chat world books.
When parsing incoming chunked HTTP payloads, the parser recursively navigates nested boundary headers:
// Vulnerable body parsing loop in server/src/parser.js (< 1.19.1)function parseMultipartStream(buffer, boundary, depth = 0) { let nextBoundaryIndex = buffer.indexOf(boundary); if (nextBoundaryIndex !== -1) { let subChunk = buffer.slice(nextBoundaryIndex + boundary.length); // Flaw: Unbounded recursion on crafted alternating boundary delimiters return parseMultipartStream(subChunk, boundary, depth + 1); } return processChunk(buffer);}By streaming a sequence of cyclic, unbalanced boundary markers without a terminating token, an unauthenticated remote adversary forces the V8 engine to exhaust the JavaScript call stack (RangeError: Maximum call stack size exceeded). Because this error occurs within an unhandled asynchronous stream callback, it bypasses top-level route catch blocks and terminates the Node.js runtime process immediately.
2. Impact on Multi-Agent Context & LLM Workflows
Section titled โ2. Impact on Multi-Agent Context & LLM Workflowsโ- State Eradication: In-flight streaming responses from models (e.g. Claude, GPT-4, Llama) are aborted mid-generation, corrupting conversational state.
- Cascading Tool Failures: Downstream autonomous workers reliant on SillyTavernโs plugin API experience socket hangups and unrecoverable deadlocks.
- Denial of Operator Control: Human-in-the-loop (HITL) supervisors lose visibility and real-time intervention capability over autonomous agent fleets.
3. Detection & Sigma Rule
Section titled โ3. Detection & Sigma Ruleโtitle: SillyTavern Malformed Multipart Body Parsing Floodid: sillytavern-cve-2026-108545-dosstatus: experimentaldescription: Detects rapid bursts of unauthenticated multipart HTTP requests directed at SillyTavern containing excessive boundary depth.logsource: category: webserverdetection: selection: cs_method: 'POST' cs_uri_stem|contains: - '/api/' - '/upload' cs_header_content_type|contains: 'multipart/form-data' sc_status: - 500 - 502 condition: selectionlevel: hightags: - attack.impact - attack.t14994. Remediation & Hardening Directives
Section titled โ4. Remediation & Hardening Directivesโ- Upgrade to Patched Version: Immediately upgrade instances to SillyTavern 1.19.1 or later.
- Reverse Proxy Request Buffering: Place Nginx or Cloudflare in front of the instance with strict body size and header boundary limits (
client_max_body_size 25M; proxy_request_buffering on;). - Process Supervision: Configure systemd or Docker with an exponential backoff auto-restart policy (
restart: unless-stopped) to mitigate denial-of-service downtime.