Opening SecureFlowOpen WebUI Direct Connections: Malicious SSE Events, Token Theft and Conditional RCE
Case summary & sources

AIDEFEND SecureFlow / SecureFlow Case Index

Cato CTRL aidefend-sf0080

Open WebUI Direct Connections: Malicious SSE Events, Token Theft and Conditional RCE

  • AI Infrastructure
  • Credential & Identity Theft
  • Data Exfiltration
  • System Compromise & RCE

Open WebUI is a self-hosted interface for AI chat. Cato validated that a malicious Direct Connections model server could send an SSE execute event that ran JavaScript in the victim’s browser and stole its login token. Backend Python execution through Tools additionally required workspace.tools permission. Direct Connections had to be enabled and the victim had to connect to the attacker’s endpoint.

Mapped threat techniques

  • AML.T0050 Command and Scripting Interpreter
  • AML.T0091.000 Application Access Token

Source