Opening SecureFlowNi8mare: A Public n8n Form Exposed Host Files Through a RAG Chat and Led to a Forged Admin Session
Case summary & sources

AIDEFEND SecureFlow / SecureFlow Case Index

Cyera Research Labs aidefend-sf0118

Ni8mare: A Public n8n Form Exposed Host Files Through a RAG Chat and Led to a Forged Admin Session

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

n8n lets teams build automated workflows, including forms that add documents to a knowledge base. In a controlled test, Cyera found that an affected public form could mistake a file on the server for an upload. The researchers used the knowledge-base chat to retrieve sensitive files, then showed that an administrator session could be forged. n8n fixed the form flaw in 1.121.0.

Mapped threat techniques

  • AML.T0049 Exploit Public-Facing Application
  • AML.T0037 Data from Local System
  • AML.T0136 Exfiltration via AI User Interface
  • AML.T0082 RAG Credential Harvesting
  • AML.T0091.001 Web Session Cookie
  • AML.T0050 Command and Scripting Interpreter

Source