Critical Ni8mare Vulnerability in n8n Enables Unauthenticated Remote Takeover
Vulnerability Disclosure · 17 sources · Updated 3mo ago · First seen Jan 7, 2026

A critical security vulnerability, tracked as CVE-2026-21858 and dubbed "Ni8mare," has been discovered in the open-source workflow automation platform n8n. This flaw allows unauthenticated remote attackers to gain full control over vulnerable n8n instances by exploiting a content-type confusion issue in the platform's workflow processing. The vulnerability, rated CVSS 10.0, enables attackers to access files on the underlying server, potentially exposing sensitive information and allowing further compromise depending on the deployment and workflow configuration. Researchers at Cyera identified and reported the issue, and n8n has issued advisories urging immediate patching.
The Ni8mare vulnerability is distinct from other recent critical flaws in n8n, as it does not require any credentials for exploitation. Over 100,000 n8n servers are believed to be at risk, with the platform widely used for automating tasks and integrating AI services. Administrators are strongly advised to update to the latest secure version and review workflow configurations to mitigate the risk of unauthorized access and system compromise. The disclosure follows a series of high-severity vulnerabilities in n8n, underscoring the urgent need for robust security practices in workflow automation environments.


