Documented Incident · INC-2026-21858 · Critical severity

n8n Ni8mare Unauthenticated Form Trigger File Read Chained to RCE

CVE-2026-21858 (dubbed Ni8mare) revealed an unauthenticated arbitrary file read vulnerability in n8n's Form Trigger node caused by missing validation on multipart content-type requests. Remote attackers hitting public workflow form endpoints could read local host configuration files, extract master encryption keys, forge valid admin session cookies, and chain into full remote code execution. Given n8n's widespread deployment in AI agent automation pipelines, national cyber agencies issued urgent remediation notices. Maintainers patched request parsing and urged rotation of instance encryption keys.

Incident dossier metadata

Case ID
INC-2026-21858
Classification
Incident
Date
Severity
Critical
Sector
Cloud & AI Infrastructure
Attack vector
Data Exfiltration
System type
AI Workflow Automation Platforms
CVE / reference
CVE-2026-21858
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-21858

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

Defensive takeaway

Separate public webhook ingress from privileged automation cores, enforce strict multipart body handling, and rotate workflow encryption keys after exposure.

Mapped AI security techniques

Mapped defensive controls

Source citation records