Documented Incident · INC-2026-32626 · Critical severity

AnythingLLM Desktop Streaming Phase XSS Escalating to Host OS RCE

CVE-2026-32626 (CVSS 9.6) revealed a critical vulnerability in AnythingLLM Desktop (`<= 1.11.1`) where streaming chat responses underwent unsafe markdown/HTML rendering inside an overly permissive Electron context. An indirect prompt injection inside an ingested RAG document or external webpage could instruct the model to output crafted HTML/script tags during token streaming. Combined with insecure Electron renderer settings, script execution escalated directly to arbitrary OS command execution on the user's workstation. Maintainers fixed streaming sanitization and tightened Electron isolation boundaries.

Incident dossier metadata

Case ID
INC-2026-32626
Classification
Incident
Date
Severity
Critical
Sector
Consumer AI & Local Runtimes
Attack vector
Indirect Prompt Injection
System type
Desktop Electron RAG & Local Chat Clients
CVE / reference
CVE-2026-32626
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-32626

Inspect INC-2026-32626 in Interactive Incidents & Cases Hub

Defensive takeaway

Set contextIsolation=true and nodeIntegration=false in Electron AI apps, and sanitize streamed LLM markdown outputs with DOMPurify before DOM insertion.

Mapped AI security techniques

Mapped defensive controls

Source citation records