CVE Tools

CVE-2026-21858

n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling

Published: Jan 7, 2026Updated: Jan 16, 2026 Sources: CVE List NVD GHSA BDUCWE-20

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.

In plain language

AI Act now

n8n can be tricked (with no login) into letting an attacker read files from your server, so most small businesses running n8n should treat this as a serious, urgent fix.

Executive summary

In n8n, improper webhook request handling can allow an unauthenticated remote attacker to read arbitrary files from the server’s file system (CWE-20) via specific workflows that accept webhook-style inputs.

If affected, business impact
Server files disclosedSensitive data exposureCredentials or secrets theft riskFurther compromise possibility

What to do now

  1. Check whether your installed n8n version is earlier than 1.121.0.
  2. If it is earlier, upgrade n8n to 1.121.0 (or newer) from the official source.
  3. After upgrading, review which workflows/webhooks are enabled and accessible over the network, and disable any unnecessary webhook endpoints.
  4. Monitor your server logs for unusual webhook requests aimed at file reads, especially repeated or automated patterns.
npm install n8n@^1.121.0
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:CC:HI:HA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:HIntegrity
High
A:NAvailability
None

Weaknesses

Affected Products

Exploitability

2 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Initial Access
View detailed technique mapping

References

and 3 more references View all →
6

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-21858 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store