Critical n8n Flaw CVE-2026-25049 Enables System Command Execution via Malicious Workflows
Source The Hacker News
Mentioned vulnerabilities
Not known to be exploited · CVSS 9.4 Critical : upgrade to 2.5.2 or 1.123.17 as a priority.
Data as of 11 Feb 2026, 12:15 UTC
- Patch
- Available – fixed in 2.5.2, 1.123.17
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
Weaponized: 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 Nov 2026.
What to do
Upgrade n8n to 2.5.2 or 1.123.17.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
AI-suggested
- Immediately upgrade n8n installations to versions 1.123.17 or 2.5.2 or later to apply official patches addressing CVE-2026-25049.
- Restrict workflow creation and modification permissions strictly to fully trusted and vetted users to prevent unauthorized injection of malicious workflows.
- Avoid exposing webhooks publicly without authentication; implement strong authentication and access controls on all webhook endpoints.
- Deploy n8n in a hardened environment with minimal operating system privileges, using containerization or sandboxing to limit the impact of potential exploitation.
- Implement network segmentation and firewall rules to restrict inbound and outbound traffic to n8n servers, minimizing exposure to the internet.
- Conduct thorough code reviews focusing on sanitization functions and runtime input validation, ensuring no assumptions about input types are made solely based on compile-time checks.
- Monitor workflow activity and webhook usage for anomalous patterns indicative of exploitation attempts.
- Employ runtime application self-protection (RASP) or intrusion detection systems to detect and block suspicious command execution attempts.
- Regularly audit and rotate credentials and API keys accessible to n8n workflows to limit damage from potential credential theft.
- Educate developers and administrators about the risks of injecting untrusted code and the importance of layered security controls.
Description
A new, critical security vulnerability has been disclosed in the n8n workflow automation platform that, if successfully exploited, could result in the execution of arbitrary system commands. The flaw, tracked as CVE-2026-25049 (CVSS score: 9.4), is the result of inadequate sanitization that bypasses safeguards put in place to address CVE-2025-68613 (CVSS score: 9.9), another critical defect that