Skip to main content
CVE-2026-21893VulnerabilityPublished

CVE-2026-21893: n8n · OS Command Injection

Affects n8nSource CVE Database V5

0

Not known to be exploited · CVSS 9.4 Critical : upgrade to 1.120.3 as a priority.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.5% chance of exploitation in 30 days – higher than 75% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.120.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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 2026-10-26.

What to do

Upgrade n8n and n8n-io/n8n to 1.120.3.

Affected software

ProductAffectedFixed in
n8n-ion8nAffected
  • >=0.187.0 <1.120.3
Fixed in
  • 1.120.3
GitHubn8n-io/n8npkg:github/n8n-io/n8nOther threatsAffected
  • >=0.187.0 <1.120.3
Fixed in
  • 1.120.3

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.120.3 or later, where the vulnerability is patched. 2. Restrict administrative privileges to the minimum necessary number of users and enforce strong authentication mechanisms such as multi-factor authentication (MFA) for admin accounts. 3. Conduct an audit of all users with administrative access to ensure only trusted personnel have such privileges. 4. Monitor logs and system activity for unusual command execution or package installation attempts that could indicate exploitation attempts. 5. Implement network segmentation to isolate n8n hosts from critical infrastructure and sensitive data stores to limit potential lateral movement. 6. Review and harden the configuration of n8n workflows to minimize exposure of sensitive commands or scripts. 7. Educate administrators on the risks of command injection vulnerabilities and the importance of secure package management practices. 8. Consider deploying runtime application self-protection (RASP) or host-based intrusion detection systems (HIDS) to detect anomalous command execution. 9. Regularly update and patch all automation and workflow platforms as part of a robust vulnerability management program.

Description

n8n is an open source workflow automation platform. From version 0.187.0 to before 1.120.3, a command injection vulnerability was identified in n8n’s community package installation functionality. The issue allowed authenticated users with administrative permissions to execute arbitrary system commands on the n8n host under specific conditions. This issue has been patched in version 1.120.3.

References

Community reviews

Loading reviews…