CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
10.0
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
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.
- Record
CVE-2026-21858- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2026-1187
10.0
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.
- Record
EUVD-2026-1187- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-v4pr-fm98-w9pg
10.0
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
Impact
A vulnerability in n8n allows 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. This could result in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage.
Patches
The issue has been fixed in n8n version 1.121.0. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
No official workarounds are available. As a temporary mitigation, users may restrict or disable publicly accessible webhook and form endpoints until upgrading.
- Record
GHSA-v4pr-fm98-w9pg- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
NVD
10.0
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.
- Record
CVE-2026-21858- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
10.0
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
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.
- Record
CVE-2026-21858- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVGHSA-v4pr-fm98-w9pg
10.0
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
Impact
A vulnerability in n8n allows 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. This could result in exposure of sensitive information stored on the system and may enable further compromise depending on deployment configuration and workflow usage.
Patches
The issue has been fixed in n8n version 1.121.0. Users should upgrade to this version or later to remediate the vulnerability.
Workarounds
No official workarounds are available. As a temporary mitigation, users may restrict or disable publicly accessible webhook and form endpoints until upgrading.
- Record
GHSA-v4pr-fm98-w9pg- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - Weakness
- CWE-20
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
n8nnpm |
1.65.0 up to 1.121.0 | 1.121.0 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Chocapikk/CVE-2026-21858 | 2026-01-07 |
| PoC in GitHub | cropnet/Ni8mare | 2026-01-12 |
| PoC in GitHub | sastraadiwiguna-purpleeliteteaming/SASTRA-ADI-WIGUNA-CVE-2026-21858-Holistic-Audit | 2026-01-17 |
| PoC in GitHub | sec-dojo-com/CVE-2026-21858 | 2026-01-20 |
| PoC in GitHub | sh4den/CVE-2026-21858 | 2026-01-20 |
| PoC in GitHub | bgarz929/Ashwesker-CVE-2026-21858 | 2026-01-28 |
| PoC in GitHub | Alhakim88/CVE-2026-21858 | 2026-01-30 |
| PoC in GitHub | EQSTLab/CVE-2026-21858 | 2026-02-11 |
| PoC in GitHub | ashrafzaryouh/CVE-2026-21858 | 2026-02-23 |
| PoC in GitHub | kaleth4/CVE-2026-21858 | 2026-04-09 |
Show 7 moreShow less
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | masterwok/PoC-CVE-2026-21858 | 2026-04-16 |
| PoC in GitHub | Bannt08/Research-CVE-2026-21858 | 2026-05-08 |
| PoC in GitHub | Fomovet/cve-2026-21858 | 2026-06-21 |
| PoC in GitHub | qianlijaingshan/n8n-cve-2026-21858 | 2026-07-21 |
| PoC in GitHub | Giangdurian/CVE-2026-21858-and-CVE-2025-68613 | 2026-07-31 |
| PoC in GitHub | yym8538/CVE-2026-21858 | 2026-08-21 |
| Nuclei | n8n Webhooks - Remote Code Execution |
History
| Recorded | Changed | Sources |
|---|---|---|
| exploits | PoC in GitHub | |
| exploits, facts | PoC in GitHub | |
| first indexed | CVE List, EUVD, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-21858 is a critical vulnerability (CVSS 10.0) in N8n, published January 7, 2026. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 78.2%, the 99th percentile. Fixed in n8n 1.121.0.
References
github.com/n8n-io/n8n/security/advisories/GHSA-v4pr-fm98-w9pg
cyera.com/research-labs/ni8mare-unauthenticated-remote-code-execution-in-n8n-cve-2026-21858
nvd.nist.gov/vuln/detail/CVE-2026-21858
github.com/advisories/GHSA-v4pr-fm98-w9pg
github.com/CVEProject/cvelistV5/tree/main/cves/2026/21xxx/CVE-2026-21858.json
github.com/n8n-io/n8n