CVE-2026-25056: n8n · Unrestricted File Upload
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.4.0 or 1.118.0 as a priority.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.4.0, 1.118.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
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 2.4.0 or 1.118.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.118.0 or 2.4.0 or later to apply the official patch addressing this vulnerability. 2. Restrict workflow creation and modification permissions to trusted administrators only, minimizing the number of users who can exploit this flaw. 3. Implement strict input validation and file type restrictions at the application and network layers to prevent dangerous file uploads. 4. Monitor filesystem activity on n8n servers for unusual file creation or modification, especially in directories accessible by the application. 5. Employ application-layer firewalls or runtime application self-protection (RASP) tools to detect and block suspicious behavior related to file uploads and execution. 6. Conduct regular security audits and penetration testing focused on workflow automation platforms. 7. Isolate n8n servers within segmented network zones with limited access to critical infrastructure. 8. Maintain comprehensive logging and alerting for workflow changes and server file system events to enable rapid incident response.
Description
CVE-2026-25056 is a critical vulnerability in the n8n workflow automation platform affecting versions prior to 1.118.0 and 2.4.0. It allows authenticated users with workflow creation or modification permissions to exploit the Merge node's SQL Query mode to write arbitrary files to the server filesystem. This unrestricted file upload can lead to remote code execution without requiring user interaction. The vulnerability has a high CVSS 4.0 score of 9.4, indicating severe impact on confidentiality, integrity, and availability.