CVE-2026-25053: n8n · OS Command Injection
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.5.0 or 1.123.10 as a priority.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.0, 1.123.10
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 26 Oct 2026.
What to do
Upgrade n8n and n8n-io/n8n to 2.5.0 or 1.123.10.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | 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
- Immediately upgrade all n8n instances to version 1.123.10 or 2.5.0 or later to apply the official patch addressing CVE-2026-25053.
- Restrict permissions to create or modify workflows strictly to trusted, vetted users to minimize the attack surface.
- Implement network segmentation and firewall rules to limit access to n8n management interfaces to authorized personnel only.
- Enable detailed logging and monitoring on n8n hosts to detect unusual command executions or file access patterns indicative of exploitation attempts.
- Conduct regular audits of workflow configurations, especially those involving the Git node, to identify and remediate suspicious or unauthorized changes.
- Employ host-based intrusion detection systems (HIDS) to alert on unexpected system command executions.
- Educate administrators and developers on secure workflow design and the risks of injecting untrusted input into system commands.
- Consider deploying n8n instances within hardened containers or virtual machines with minimal privileges to contain potential compromises.
- Review and enforce strong authentication and access control policies for all automation platform users.
- Maintain an incident response plan that includes procedures for addressing workflow automation platform compromises.
Description
CVE-2026-25053 is a critical OS command injection vulnerability in the n8n workflow automation platform affecting versions prior to 1.123.10 and 2.5.0. Authenticated users with permissions to create or modify workflows can exploit this flaw via the Git node to execute arbitrary system commands or read arbitrary files on the host system without user interaction. The vulnerability stems from improper neutralization of special elements in OS commands (CWE-78). It has a high CVSS 4.0 score of 9.4, indicating severe impact on confidentiality, integrity, and availability.