CVE-2026-21858
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
Steps
Written by AI from the record- Check whether your installed n8n version is earlier than 1.121.0.
- If it is earlier, upgrade n8n to 1.121.0 (or newer) from the official source.
- After upgrading, review which workflows/webhooks are enabled and accessible over the network, and disable any unnecessary webhook endpoints.
- Monitor your server logs for unusual webhook requests aimed at file reads, especially repeated or automated patterns.
npm install n8n@^1.121.0What it is
From the CVE record
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
Written by AI from the recordn8n 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.
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 you're affected
- Server files disclosed
- Sensitive data exposure
- Credentials or secrets theft risk
- Further compromise possibility
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
2 sources with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
78% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 49 days before any public exploit.
- OpenVAS check added
- EPSS band changelow → high
- Public exploit / PoCsource: github-poc
- Nuclei check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Scored 10.0 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
- Initial AccessT1190Exploit Public-Facing Applicationlow confidence
Sources
References in the record
- 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
- github.com/n8n-io/n8n/security/advisories/GHSA-v4pr-fm98-w9pg&
And 3 more references. See all after sign-in
In the news
- Китайский хакер использовал DeepSeek для проведения автономных атак
- Chinese hacker used DeepSeek to launch autonomous cyberattacks on vulnerable servers
- Hacker uses DeepSeek AI to autonomously attack vulnerable servers
- Chinese Hacker Commands DeepSeek via Telegram to Launch Autonomous Attacks
- ThreatsDay: AI-Powered Hacking, 370 Chrome Flaws, SonicWall Attacks, DNS Hijacking + 22 More Stories
- Chinese-Speaking Threat Actor Harnesses AI Models for Autonomous Cyberattacks
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for N8n, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI