Ni8mare is CVE-2026-21858, a critical request-handling vulnerability in n8n versions 1.65.0 up to, but excluding, 1.121.0. An unauthenticated attacker can access files readable by the n8n process through certain exposed form-based workflows.
The flaw arises when file-handling workflow logic trusts request metadata without ensuring that it came from the expected upload parser. A specially formed request can cause a local server file to be processed as an uploaded document. Whether the attacker can retrieve its contents depends on the configured workflow and how its output is exposed.
Cyera demonstrated a progression from sensitive-file access to administrative takeover and code execution in its researched deployment. The vendor advisory defines the direct impact as unauthenticated file access and makes further compromise dependent on deployment configuration and workflow usage. The vulnerability should not be described as unconditional code execution on every n8n instance.
Cyera reported the issue on November 9, 2025. n8n released the fix in 1.121.0 on November 18, and the coordinated advisory and research became public on January 7, 2026. Workflow automation systems may hold API tokens, credentials and business data, so exposure review must include connected services as well as the n8n host.