Skip to main content
VulnerabilityPublished

CVE-2026-25053: n8n · OS Command Injection

Affects n8nSource CVE Database V5

0

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

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
n8n-ion8nAffected
  • <2.5.0
Fixed in
  • 2.5.0
n8n-ion8nAffected
  • <1.123.10
Fixed in
  • 1.123.10
npmn8n-io/n8npkg:npm/n8n-io/n8nOther threatsAffected
  • <1.123.10
  • <2.5.0
Fixed in
  • 1.123.10
  • 2.5.0

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.123.10 or 2.5.0 or later to apply the official patch addressing CVE-2026-25053.
  2. Restrict permissions to create or modify workflows strictly to trusted, vetted users to minimize the attack surface.
  3. Implement network segmentation and firewall rules to limit access to n8n management interfaces to authorized personnel only.
  4. Enable detailed logging and monitoring on n8n hosts to detect unusual command executions or file access patterns indicative of exploitation attempts.
  5. Conduct regular audits of workflow configurations, especially those involving the Git node, to identify and remediate suspicious or unauthorized changes.
  6. Employ host-based intrusion detection systems (HIDS) to alert on unexpected system command executions.
  7. Educate administrators and developers on secure workflow design and the risks of injecting untrusted input into system commands.
  8. Consider deploying n8n instances within hardened containers or virtual machines with minimal privileges to contain potential compromises.
  9. Review and enforce strong authentication and access control policies for all automation platform users.
  10. 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.

References

Community reviews

Loading reviews…