CVE-2026-21858: n8n · Improper Input Validation
Affects n8nSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · 78% EPSS · CVSS 10.0 Critical : upgrade to 1.121.0 as a priority.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 78.1% chance of exploitation in 30 days – higher than 99% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.121.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Jan 2026
Detectable: evidence found.
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade n8n and n8n-io/n8n to 1.121.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | Affected
| Fixed in
|
npmn8n-io/n8npkg:npm/n8n-io/n8nOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Immediately upgrade all n8n instances to version 1.121.0 or later, where the vulnerability is patched. 2. Review and audit existing workflows for any that process untrusted input or expose form-based inputs to external users, and restrict access where possible. 3. Implement network segmentation and firewall rules to limit external access to n8n servers, especially if they are internet-facing. 4. Employ strict input validation and sanitization in custom workflows to reduce risk of injection or unauthorized file access. 5. Monitor logs and network traffic for unusual access patterns or attempts to exploit form inputs. 6. Use application-layer firewalls or web application firewalls (WAFs) to detect and block malicious payloads targeting n8n workflows. 7. Conduct regular security assessments and penetration tests focusing on workflow automation platforms. 8. Educate development and operations teams about secure workflow design and the risks of exposing sensitive automation endpoints.
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.