Description
n8n is an open source workflow automation platform. Versions starting with 1.65.0 and below 1.121.0 enable an attacker to access files on the underlying server through execution of certain form-based workflows. A vulnerable workflow could grant access to an unauthenticated remote attacker, resulting in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage. This issue is fixed in version 1.121.0.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | >= 1.65.0, < 1.121.0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 16 repositories · most starred shown
-
Chocapikk/CVE-2026-21858 ★ 306 · Jan 7, 2026
n8n Ni8mare - Unauthenticated Arbitrary File Read to RCE Chain (CVSS 10.0)
-
sh4den/CVE-2026-21858 ★ 3 · Jan 20, 2026
Proof of Concept: CVE-2026-21858 is vulnerability on n8n where unauthenticated remote attackers can access sensitive files.
-
cropnet/Ni8mare ★ 2 · Jan 12, 2026
Comprehensive vulnerability detection tool for n8n workflow automation instances. Detects the critical CVE-2026-21858 vulnerability (CVSS 10.0) without performing any exploitation.
-
yym8538/CVE-2026-21858 ★ 1 · Aug 21, 2026
-
Fomovet/cve-2026-21858 ★ 1 · Jun 21, 2026
POC for CVE-2026-21858
-
ashrafzaryouh/CVE-2026-21858 ★ 1 · Feb 23, 2026
CVE-2026-21858
-
EQSTLab/CVE-2026-21858 ★ 1 · Feb 11, 2026
Ni8mare, n8n RCE
-
sec-dojo-com/CVE-2026-21858 ★ 1 · Jan 20, 2026
-
bgarz929/Ashwesker-CVE-2026-21858 ★ 0 · Jan 28, 2026
CVE-2026-21858
-
sastraadiwiguna-purpleeliteteaming/SASTRA-ADI-WIGUNA-CVE-2026-21858-Holistic-Audit ★ 0 · Jan 17, 2026
SASTRA-ADI-WIGUNA-CVE-2026-21858-Holistic-Audit
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- n8n Webhooks - Remote Code Execution http/cves/2026/CVE-2026-21858.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | >= 1.65.0, < 1.121.0 | 1.121.0 | GHSA-v4pr-fm98-w9pg |
Advisories 2
- WID-SEC-2026-0040 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 11, 2026
- NCSC-2026-0002 Kwetsbaarheid verholpen in n8n NCSC-NL (Netherlands) · Jan 8, 2026