Skip to main content
Mallory
← Back to News
internet-facing-service-vulnerabilitywidely-deployed-product-advisoryopen-source-dependency-vulnerability

Critical Ni8mare Vulnerability in n8n Enables Unauthenticated Remote Takeover

Vulnerability Disclosure · 17 sources · Updated 3mo ago · First seen Jan 7, 2026

Critical Ni8mare Vulnerability in n8n Enables Unauthenticated Remote Takeover

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · Nov 9, 2025 – Feb 4, 2026
  1. Feb 4, 202610mo ago

    MBSD-SOC observes exploitation attempts against n8n flaw

    MBSD-SOC reported attacks targeting CVE-2026-21858 in February 2026 and said it first observed exploitation attempts on 2026-02-04. The activity included a POST request to /form/avatar attempting to read /proc/self/environ via the filepath parameter, indicating public PoC-driven scanning or exploitation.

    2026年2月度 MBSD-SOCの検知傾向トピックス | 技術者ブログ | 三井物産セキュアディレクション株式会社
  2. Jan 12, 202610mo ago

    Canada's Cyber Centre issues alert on n8n vulnerabilities

    The Canadian Centre for Cyber Security issued Alert AL26-001 covering CVE-2026-21858 and other n8n flaws. The alert warned that public proof-of-concept exploits existed and advised organizations to patch or restrict public webhook and form endpoints.

  3. Jan 11, 202610mo ago

    Shadowserver reports nearly 60,000 exposed unpatched n8n instances

    Follow-up exposure tracking found 105,753 exposed n8n instances over the weekend, with 59,558 still exposed on Sunday. The update highlighted continued large-scale internet exposure of unpatched deployments after public disclosure.

  4. Jan 8, 202610mo ago

    Horizon3.ai disputes severity in typical deployments

    Horizon3.ai published an analysis arguing that real-world exploitation usually requires uncommon, non-default conditions such as a publicly accessible form workflow and a way to retrieve local files. The company said it found no impacted customer production environments during its review, while still recommending patching.

  5. Jan 7, 202611mo ago

    Exposure estimates show tens of thousands of n8n hosts at risk

    Researchers and internet scanning data published with the disclosure estimated large numbers of exposed n8n instances, ranging from 26,512 observed internet-facing hosts to claims of more than 100,000 potentially vulnerable servers. The largest concentrations were reported in the United States and Europe.

  6. Jan 7, 202611mo ago

    Researchers detail Ni8mare attack chain to full n8n takeover

    Multiple reports on the public disclosure date explained that attackers could chain arbitrary file read, secret extraction, forged admin session cookies, and workflow-based command execution to fully compromise self-hosted n8n instances. Cyera named the issue "Ni8mare" and rated it critical with a CVSS score of 10.0.

  7. Jan 7, 202611mo ago

    Public advisories disclose CVE-2026-21858 and urge upgrades

    Public disclosure of CVE-2026-21858 began through GitHub and CVE listings, describing unauthenticated file access via improper webhook request handling and recommending upgrades to 1.121.0 or later. Reports also noted that restricting or disabling public webhook and form endpoints could reduce exposure until patching.

  8. Nov 18, 20251y ago

    n8n patches CVE-2026-21858 in version 1.121.0

    n8n fixed CVE-2026-21858 in release 1.121.0. The patch addressed the vulnerable webhook/form handling affecting versions up to and including 1.65.0.

  9. Nov 9, 20251y ago

    Cyera privately reports n8n flaw to vendor

    Cyera researchers privately disclosed CVE-2026-21858, later dubbed "Ni8mare," to n8n in early November 2025. The report described an improper webhook request handling issue that could enable unauthenticated file access and further compromise.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Vulnerabilities

1 linked

Affected products

1 linked
N8n

Organizations

1 linked
N8n
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.